Question

Question 6. How can you prepare the compound as shown down by Mannich reaction? Propose a mechanism for this reaction? (Score: 12)

Fig: 1

Fig: 2