Final answer:
The vendor sold 104 sodas and 57 hot dogs at the basketball game.
Step-by-step explanation:
To solve this problem, we define variables for the quantities we want to find. Let's call the number of sodas sold s, and the number of hot dogs sold h. According to the problem, the combined total of sodas and hot dogs sold is 161, so we can write the equation:
s + h = 161
Additionally, we know that the number of hot dogs sold was 47 less than the number of sodas, which gives us another equation:
h = s - 47
We can substitute the second equation into the first:
s + (s - 47) = 161
This simplifies to:
2s - 47 = 161
Now, add 47 to both sides:
2s = 161 + 47
2s = 208
Finally, divide by 2 to find the number of sodas sold:
s = 208 / 2
s = 104
Using the second equation, we can now find the number of hot dogs sold:
h = 104 - 47
h = 57
The vendor sold 104 sodas and 57 hot dogs.