5071

 

Write the structure of the main organic product(s) of the following reactions:

 

(a)

 

(b)

 

5122

 

Provide a mechanism for the following reaction: