Question 1073637
Let hot dogs be n. Then sodas will be n+40. So:
n+n+40=142
2n=102
n=51
There were 51 hot dogs, and 91 sodas sold. ☺☺☺☺