So for the bottom one, start with the product. How do you get an alpha-beta unsaturated carbonyl? One way is an intramolecular Michael addition. So draw the Michael substrate. Now, you should see there must be two ketones in that substrate. How do you get two ketones from a double bond? That one should be obvious as well. Now you're at the starting material.