Final answer:
Answer : The store sold 8 cakes. To solve this problem, we can use a system of equations to find the number of cakes sold. We can set up two equations based on the given information and solve for the unknowns. Using the equations x + y = 11 and 10x + 15y = 125, we can find that the store sold 8 cakes.
Step-by-step explanation:
To solve this problem, we can use a system of equations. Let's define the number of cakes as x and the number of pies as y.
From the given information, we know that a cake costs $10 and a pie costs $15. The total number of baked goods sold is 11, so we can write the equation:
x + y = 11
The total amount earned from the sales is $125, so we can write another equation:
10x + 15y = 125
By solving this system of equations, we can find the values of x and y. Multiplying the first equation by 10, we get:
10x + 10y = 110
Subtracting this equation from the second equation, we eliminate the 10x term:
5y = 15
Solving for y, we find y=10. Substituting this value back into the first equation, we can solve for x:
x + 3 = 11
x = 8
Therefore, the store sold 8 cakes.