Given:
A soda and two slices of the pizza of the day cost $10.25.
A soda and four slices of the pizza day cost $18.75.
To find:
The cost of each item.
Solution:
Let x be the cost of a soda and y be the cost of each slice of the pizza.
A soda and two slices of the pizza of the day cost $10.25.
[tex]x+2y=10.25[/tex] ...(i)
A soda and four slices of the pizza day cost $18.75.
[tex]x+4y=18.75[/tex] ...(ii)
Subtracting (i) from (ii), we get
[tex]x+4y-x-2y=18.75-10.25[/tex]
[tex]2y=8.50[/tex]
[tex]y=\dfrac{8.50}{2}[/tex]
[tex]y=4.25[/tex]
Putting y=4.25 in (i), we get
[tex]x+2(4.25)=10.25[/tex]
[tex]x+8.50=10.25[/tex]
[tex]x=10.25-8.50[/tex]
[tex]x=1.75[/tex]
Therefore, the cost of each soda is $1.75 and the cost of each slice of pizza is $4.25.