I got the second step, it's just intramolecular nucleophilic attack from the O, followed by tautomerisation and then an e1cb. Still no luck with first step. I know it involves an aldol but could you give me a hint as to what else? or where the aldol attacks?