Answer:
g = 15 - m/28
Explanation:
let g = gasoline
let m = miles
since you can drive 420 miles with 15 gallons of gas, you can drive 28 miles with one gallon (= 420/15 = 28)
e.g.
you drive 100 miles, then you will have:
g = 15 - 100/28 = 15 - 3.57 = 11.43 gallons of gas left
you drive 240 miles:
g = 15 - 240/28 = 6.43 gallons