Answer:
sodas sold = 138
hot dogs sold = 79
Step-by-step explanation:
let s = number of sodas sold
let h = number of hot dogs sold
equation 1: h + s = 217
equation 2: h + 59 = s
Substitute equation 2 into equation 1 and solve for h:
⇒ h + (h + 59) = 217
⇒ 2h + 59= 217
⇒ 2h =158
⇒ h = 79
Substitute found value of h into equation 2 and solve for s:
⇒ 79 + 59 = s
⇒ s = 138