To answer this question we have to divide the total cost of the gallons by the total number of gallons, and that will give us the unit price per gallon.
Dividing the total cost by the number of gallons we get:
simplifying the above fraction we get:
Answer: The unit price in dollars is: