The function is given as,

The interval is given as,

Consider that the average rate of change of a function f(x), in the interval [a,b] is given by,

According to the given problem,

The value of the function at the end-points is calculated as,

Substitute the values and simplify,

Thus, the average rate of change of the function is 6 units.