Fixing gallons left equation based on user input.