QUESTION 3. Write a reasonable mechanism for the following

Question
QUESTION 3. Write a reasonable mechanism for the following reactions?
Question image 1Question image 2