To find the rate of change in the cost of gas per gallon pumped, we can use the two points provided: (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} \]
Where \((x_1, y_1) = (4, 15)\) and \((x_2, y_2) = (8, 30)\):
\[ \text{Slope} = \frac{30 - 15}{8 - 4} = \frac{15}{4} = 3.75 \]
Thus, the rate of change in the cost of gas as each gallon is pumped is \(3.75\) dollars per gallon.