How do you determine the slope of a tangent line? Why does this work?