The cost to.Purchase a tank.Of gasoline varies directly with the.Number of gallons purchased. You notice that the person in front of you spent $40.50 on 15 gals of gas. If your truck needs 26 gals of gas how much will you spend