Do I just do
YQ-YP/
XQ-XP almost like Y2-Y1/X2-X1
Then how do i find an equation of the tangent line to the curve at P(2,-2)