Increasing and Decreasing Function

Click the start to set of the turtle on its journey.When it stops(stationary!) click it to set it off again.

Show f' , what is the relation betweent the derivative of the function and the turtles movement?