One way to go about this problem is to set it up as a proportion.
Now multiply both sides by 12 gallons and solve.
26.28 = 12n
n = 2.19
Multiply the price per gallon by the number of gallons.
Use a proportion to show the known price ($8.76) over the unknown number of gallons and follow the strategy shown in part (a) to solve.