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.
![2y=5.5](https://img.qammunity.org/2020/formulas/mathematics/middle-school/xtnj2fplqn6u9euivpopon33nrs7792mz9.png)
![y=(5.5)/(2)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/25ohg96dh3to3slqlcu4d00jhwnugz2eql.png)
y=2.75
Now we substitute the value of y in equation 1.
![2x+5* 2.75=45.25](https://img.qammunity.org/2020/formulas/mathematics/middle-school/b3c3rju8uxdt0uvp8va0z7lkur2nnhk3aa.png)
![2x+13.75=45.25](https://img.qammunity.org/2020/formulas/mathematics/middle-school/n5ic2m86pel3lgormhqerw2fxj0w95j38p.png)
![2x=45.25-13.75](https://img.qammunity.org/2020/formulas/mathematics/middle-school/nm2sxqt37khnqgllnmuign6c254xkb8dwu.png)
![2x=31.5](https://img.qammunity.org/2020/formulas/mathematics/middle-school/443hk4cozzehyibwx7jprf3s74fsdv54n2.png)
![x=(31.5)/(2)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/sjnldu9kacvgku9ko8n39n0ss6tdm604eh.png)
x=15.75
So, The cost of each pie is $15.75
And the cost of each cake is $2.75