Given:
Vender sold a combined total of 249 sodas and hot dogs.
The number of sodas sold was 55 more than the number of hot dogs sold.
Let x and y be the number of sodas and hot dogs sold.


Substitute equation (2) in (1)






Number of sodas sold is 152.
Number of hot dogs sold is 97.