You can put this solution on YOUR website!
if the cost of gallons of milk is $, the cost of gallon of milk is $
if the cost of gallons of milk is $, the cost of gallon of milk is $
so, the rate of change is
or, you can find it using given data as two points that lie on same line and find the slope of that line; the slope is actually the rate of change
the points are:
(,)
(,)
so, ones again, the rate of change is