Answer:
cost of each pie = $15.75
cost of each cake = $2.75
Step-by-step explanation:
Let x be the Pie and y be the cake.
Given:
The cost of two pies and five cakes is $45.25,
[tex]2x+5y=45.25[/tex]-----------(1)
The cost of 2 pies and three cakes is $39.75
[tex]2x+3y=39.75[/tex]--------------(2)
Now we subtract equation 2 from equation 1.
[tex]2y=5.5[/tex]
[tex]y=\frac{5.5}{2}[/tex]
y=2.75
Now we substitute the value of y in equation 1.
[tex]2x+5\times 2.75=45.25[/tex]
[tex]2x+13.75=45.25[/tex]
[tex]2x=45.25-13.75[/tex]
[tex]2x=31.5[/tex]
[tex]x=\frac{31.5}{2}[/tex]
x=15.75
So, The cost of each pie is $15.75
And the cost of each cake is $2.75