Gasoline costs $3.29 per gallon. Write an expression to represent the total cost of buying g gallons of gasoline at that price.