You can put this solution on YOUR website! Find the equation of the tangent line to the curve (x-y)^2=2x+1 at the point (4,1).
--------------
(x-y)^2=2x+1
x^2 - 2xy + y^2 = 2x+1
Differentiate implicitly
2xdx - 2ydx - 2xdy + 2ydy = 2dx
xdx - ydx - xdy + ydy - dx = 0
(x-y-1)dx - (x - y)dy = 0
(x-y-1)dx = (x - y)dy
dy/dx = (x-y-1)/(x-y)
@ (4,1) dy/dx = 2/3
--------------------
y-1 = (2/3)(x-4)