So we now know two things: How much can I buy with a euro vs how much can I buy with a USD. And we know how many dollars it costs to buy a euro.
So if I can buy a piece of candy for 3 euros or $ 1, and I can $ 2 for one Euro, then I'm much better off selling my Euros to buy dollars because that way I'll be able to get a LOT more candy .