Doubt from aldehyde and ketone


Soln...

Please provide me mechanism for 1st and the last step...

For first step OH minus will take Hplus from the alpha hydrogen of carbonyl then there will be negative charge then attack negative charge on carbon shift double bond and then Br minus will leave as it is good leaving group

Last step is aldol condensation ,the OH minus will take H from CH3 then attack it on carbonyl of ring then heat then water molecule will get out by making double bond