Average velocity and slope of a secant line