A bakery sells apple pies for $12 each and pumpkin pies for $15 each. In one day, they make $100 from selling apple and pumpkin pies. Write an equation to show how apple pies a and pumpkin pies p are related to money the bakery made.

12P+15A=100

Did you mean?

12a + 15p = 100.

To write an equation that shows the relationship between the number of apple pies (a), the number of pumpkin pies (p), and the total money made by the bakery, we can use the given information.

Let's break down the problem step by step:

1. The bakery sells apple pies for $12 each. So, for every apple pie sold, the bakery earns $12a.
2. Similarly, the bakery sells pumpkin pies for $15 each. So, for every pumpkin pie sold, the bakery earns $15p.
3. In one day, the bakery makes $100 from selling apple and pumpkin pies. Combining the earnings from apple pies and pumpkin pies, we can write the equation:

12a + 15p = 100.

This equation relates the number of apple pies (a) and the number of pumpkin pies (p) to the total money earned by the bakery.