At a gas station, the price of gas is $2.40 a gallon. Write an equation using slope-intercept form that relates the total cost, C, to the price per gallon of gas, g