Answer:
Number of sodas sold:118
Number of hot dogs sold: 59
Step-by-step 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

Furthermore, we are also told that the number of sodas sold was two times the number of hot dogs sold. This means

Hence, we have two equations and two unknowns.
Substituting the value of s from the second equation into the first gives

which simplifies to give

dividing both sides by 3 gives


This means that the number of hot dogs sold was 59.
WIth the value of h in hand, we now find s.

putting h = 59 into the above gives

This means that the number of sodas sold was 118.
Hence, to summerise,
Number of sodas sold:118
Number of hot dogs sold: 59