Answer: The cost of one sandwich is $4.25 and the cost of one cup of coffee is $2.25.
Step-by-step 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 :-
[tex]4x+3y=23.75.................(1)\\\\2x+5y=19.75................(2)[/tex]
Multiply 2 on both sides of equation (2) , we get
[tex]4x+10y=39.5................(3)[/tex]
Subtract equation (1) from equation (3), we get
[tex]7y=15.75\\\\\Rightarrow\ y=\dfrac{15.75}{7}=2.25[/tex]
Put value of y in (1), we get
[tex]4x+3(2.25)=23.75\\\\\Rightarrow\ 4x+6.75=23.75\\\\\Rightarrow\ 4x =17\\\\\Rightarrow\ x=4.25[/tex]
Hence, the cost of one sandwich is $4.25 and the cost of one cup of coffee is $2.25.