Let x be the number of sodas sold
Lef y be the number of hot dogs sold
At a baseball game, a vender sold a combined total of 208 sodas and hot dogs:
[tex]x+y=208[/tex]The number of hot dogs sold was 42 less than the number of sodas sold:
[tex]y=x-42[/tex]Use the next system of equations to solve the question:
[tex]\begin{gathered} x+y=208 \\ y=x-42 \end{gathered}[/tex]1- Use the second equation in the frist equation:
[tex]x+(x-42)=208[/tex]2- Solve x.
[tex]\begin{gathered} x+x-42=208 \\ 2x-42=208 \\ \\ \text{Add 42 in both sides of the equation:} \\ 2x-42+42=208+42 \\ 2x=250 \\ \\ \text{Divide both sides of the equation into 2:} \\ \frac{2}{2}x=\frac{250}{2} \\ \\ x=125 \end{gathered}[/tex]3- Use the value of x to solve y:
[tex]\begin{gathered} y=x-42 \\ y=125-42 \\ \\ y=83 \end{gathered}[/tex]Then, the number of sodas sold was 125 and the number of hot dogs sold was 83