3h + 4s = 20
1) Let's write an equation for that, calling hot dogs by h and sodas by s.
3h + 4s = 20
Note that in this equation we are relating prices, of hot dogs and sodas and the total cost of them. Similar reasoning is used to set a linear system of equations.