Slide red points vertically to change the slope of the assoaciated segment. The y-coordinate of the point is the slope of the segments.
Once you have moved each of the red dots so the segments are tangent to the curve, click the "Show f'(x)" button tho check you work. Try other functions with the drop down slider.