Sheldon needs to buy 8 gallons of ice cream for a family reunion. The table shows the prices for different sizes of two brands of ice cream.