Answer:
cost of each pie = $15.75
cost of each cake = $2.75
Explanation:
Let x be the Pie and y be the cake.
Given:
The cost of two pies and five cakes is $45.25,
-----------(1)
The cost of 2 pies and three cakes is $39.75
--------------(2)
Now we subtract equation 2 from equation 1.


y=2.75
Now we substitute the value of y in equation 1.





x=15.75
So, The cost of each pie is $15.75
And the cost of each cake is $2.75