A store sells antifreeze coolant for $5 a gallon. If a customer purchases 4 gallons, they are given a fifth gallon for free. If the total bill exceeds $30, the price for any additional antifreeze is $3.5 a gallon. Describe the total cost of the coolant for an order of 4 to 5 gallons.