Differentiate the function/equation with respect to x and solve for the derivative, dy/dx. The value of dy/dx at the given point is the slope of the tangent line to the curve at that point. Then use the point-slope formula to get the equation of the tangent.
1.
When x = 2, the derivative is
Then the equation of the tangent line at (2, 1) is
2.
When x = 2 and y = 1, the derivative is
Then the tangent at (2, 1) has equation