So two of these reactions not always studied in sophomore organic chemistry, though one is a branch of chemistry you do know.
I'm not going to push arrows for you, but I'll help you with some vocabulary to help you google and wikipedia your way.
step 1 is the formation of an activated ester from a carboxylic acid a carbonyl diimidazole (an intermediate, not isolated). Converting product 4 into product 5 is a williamson ether synthesis. This is followed by a combined aldol condensation of the ketone and the benzylic position of the ester to make an enone, and also the reaction of the phenol with the (other) activated carbonyl to make an ester. That's the trickiest part, try drawing it out.
The third reaction is a copper click reaction, also known as CuAAC. Its a fantastic reaction only invented in the last 20 years. Its a copper catalyzed version of Huisgen cycloaddition.