
The average is the slope of a secant, a line through two points. The rate right now is the slope of a tangent: slide the secant's second point closer, and the tangent is the line those secants head to.

The blue secant is the average between two points. The gold tangent is the rate right at the later point. They are different lines. (On this teaching screen: from 1 to 3 the secant slope is (9 + (−1)) ÷ 2 = 4; right at 3 the tangent slope is 6.)