Answer:
Number of soda = 186
Number of hot dog= 62
Explanation:
Let us take number of sodas as x and number of hot dogs as y
Then
x + y = 248 [Equation 1]
and
3y = x
Hence,
3y -x = 0 [Equation 2]
By adding [Equation 1 & 2]
(+x -x) 3y + y = 248 + 0
4y = 248
4 4
y = 62
Substitute y= 62 in [Equation 1] to get
x + y = 248
x + 62 = 248
x = 248 - 62
x = 186