contestada

A local Bakery makes pies and cakes. The ratio of cakes sold to pies sold is 5:3. If they sell a total of 40 pies and cakes, how many of each did they sell?