What value of n makes each statement true? Suppose regular gasoline costs $2.50 per gallon. You can purchase a car wash at the gas station for $3.

a. Write an equation in slope-intercept form for the total cost y of purchasing a car wash and x gallons of gasoline.

b. Find the cost of purchasing a car wash and 8 gallons of gasoline.