Part (a)
Divide the total cost over the number of gallons to get the unit cost
(23.63)/(8.5) = 2.78
=======================================================
Part (b)
The result of the previous part indicates the gas costs $2.78 per gallon.
=======================================================
Part (c)
c = cost in dollars
g = number of gallons bought
cost/gallons = cost/gallons
c/g = (23.78)/(8.5)
c/g = 2.78
c = 2.78g
This fits with what part (b) mentioned. The 2.78g means "2.78 times g".
=======================================================
Part (d)
Plug g = 17 into the equation found in part (c)
c = 2.78g
c = 2.78*17
c = 47.26