I think that the product is supposed to be the ester, but the drawing isn't really clear. Demotivator's way will certainly work for the ketone.
For the ester, The easiest way is probably from propionic acid and ethanol with catalytic acid (a Fisher Esterification). Similarly you could start from 1-propanol and do an oxidation as Demotivation suggested to give propionic acid. You could convert that acid to the acid chloride too, and then react that with ethanol.
Lots of ways to do it!