You really should post your efforts, thoughts or where you are stuck...

Hint: the average rate of change is the slope of the straight line joining the two points,

hence it is

The instantaneous rate of change is given by the slope of the tangent at a particular f(x).

The derivative is the slope of the tangent evaluated at the given x.