To determine the price per gallon we need to divide the cost by the number of gallons.
For Brans A we have:
For Brand B:
The better price is for Brand B since:
The difference is:
1.6m questions
2.0m answers