To find the rate of change in the cost of gas per gallon, we can use the two points given on the graph: (4, 15) and (8, 30). The rate of change (slope) can be calculated using the formula:
\[ \text{slope} = \frac{y_2 - y_1}{x_2 - x_1} \]
Here, \((x_1, y_1) = (4, 15)\) and \((x_2, y_2) = (8, 30)\).
Plugging in the coordinates:
\[ \text{slope} = \frac{30 - 15}{8 - 4} = \frac{15}{4} \]
So, the rate of change in the cost of gas is \(\frac{15}{4}\) dollars per gallon.
In decimal form, this is:
\[ \frac{15}{4} = 3.75 \]
Thus, the rate of change in the cost of gas is $3.75 per gallon.