Final answer:
The cost of one cherry pie is $4, and the cost of one pumpkin pie is $13. We determined this by setting up a system of equations and solving for the variables representing the cost of each type of pie.
Step-by-step explanation:
To find the cost of one cherry pie and one pumpkin pie, we can set up a system of equations based on the information given:
- Let c represent the cost of one cherry pie.
- Let p represent the cost of one pumpkin pie.
According to the problem, James sold 13 cherry pies and 12 pumpkin pies for a total of $208, which gives us the equation:
13c + 12p = 208 ... (1)
Elisa sold 12 cherry pies and 12 pumpkin pies for a total of $204, which gives us the equation:
12c + 12p = 204 ... (2)
To solve for c and p, we can use the method of elimination or substitution. If we subtract equation (2) from equation (1), we get:
c = 4 ... (3)
Substituting the value of c from equation (3) into equation (2), we get:
12(4) + 12p = 204
48 + 12p = 204
12p = 156
p = 13
Therefore, the cost of one cherry pie is $4 and the cost of one pumpkin pie is $13.