Suggest reasonable mechanism for each of the following reactions: (a) (b)

Suggest reasonable mechanism for each of the following reactions:
(a)
Suggest reasonable mechanism for each of the following reactions:(a)(b)

(b)

Suggest reasonable mechanism for each of the following reactions:(a)(b)