Question

What is the product of the following condensation reactions?