Answer: The cost of one sandwich is $4.25 and the cost of one cup of coffee is $2.25.
Explanation:
Let x be the cost of one sandwich and y be the cost of one cup of coffee.
By considering the given situation, we have the following equations :-
![4x+3y=23.75.................(1)\\\\2x+5y=19.75................(2)](https://img.qammunity.org/2019/formulas/mathematics/high-school/dyntdujc9hb1qdrhsugzkhmourb6pvya2n.png)
Multiply 2 on both sides of equation (2) , we get
![4x+10y=39.5................(3)](https://img.qammunity.org/2019/formulas/mathematics/high-school/bbrpvq9ugpgy9pow0x9bqdhbfsw0c4vktl.png)
Subtract equation (1) from equation (3), we get
![7y=15.75\\\\\Rightarrow\ y=(15.75)/(7)=2.25](https://img.qammunity.org/2019/formulas/mathematics/high-school/alj0qj8szyyo5xgw95p2xgejp76td24chd.png)
Put value of y in (1), we get
![4x+3(2.25)=23.75\\\\\Rightarrow\ 4x+6.75=23.75\\\\\Rightarrow\ 4x =17\\\\\Rightarrow\ x=4.25](https://img.qammunity.org/2019/formulas/mathematics/high-school/bhwate2wv4ukgqafjtb3pisjci2fj6sq3p.png)
Hence, the cost of one sandwich is $4.25 and the cost of one cup of coffee is $2.25.