Answer:
Every gallon costs $4.20
Explanation:
If you divide the money he spent and the gallons he needed, you come up with a total price of $4.20 a gallon. For the amounts of gallons he could get with $40 bucks, he would have 9.5 gallons, as you just need to divide 40 by 4.2. I hope this helps :)