Answer:
Step-by-step explanation:
Let s and h represent the numbers of sodas and hotdogs sold, respectively. The problem statement tells you ...
... s + h = 165
... s - h = 39
Add these two equations to get ...
... 2s = 204
... s = 102 . . . . . divide by w
... h = 165 - 102 = 63 . . . . use the first equation to find h from s
The vendor sold 102 sodas and 63 hot dogs at the basketball game.