advanced organic chemistry

This was organic chemistry in Spain and I dont have any idea how to solve this here