Answer:
Number of sodas sold:118
Number of hot dogs sold: 59
Explanation:
Let us call
h = number of hot dogs sold
s = number of sodas sold
Now we are told that a vendor sold a combined total of 177 sodas and hot dogs. This means
[tex]s+h=177[/tex]Furthermore, we are also told that the number of sodas sold was two times the number of hot dogs sold. This means
[tex]s=2h[/tex]Hence, we have two equations and two unknowns.
Substituting the value of s from the second equation into the first gives
[tex]\begin{gathered} s+h=177 \\ \Rightarrow2h+h=177 \end{gathered}[/tex]which simplifies to give
[tex]3h=177[/tex]dividing both sides by 3 gives
[tex]h=177/3[/tex][tex]\boxed{h=59.}[/tex]This means that the number of hot dogs sold was 59.
WIth the value of h in hand, we now find s.
[tex]s=2h[/tex]putting h = 59 into the above gives
[tex]\begin{gathered} s=2\times59 \\ \Rightarrow\boxed{s=118.} \end{gathered}[/tex]This means that the number of sodas sold was 118.
Hence, to summerise,
Number of sodas sold:118
Number of hot dogs sold: 59