These reactions are based on the topics of carboxylic acids

These reactions are based on the topics of carboxylic acids and derivatives, enolates, condensation, etc. I am having a hard time with the synthesis for these two. I believe I know parts of them but not all of it. If you can do it right now please bid, I need to find the answers by this afternoon. I do not need mechanisms, just each step with reagants and intermediates to get to the final product.Thank you