Assuming your derivative is correct, so we have:
Find to get the slope ..
then substitute this in the well-known equation of any line ..
Use implicit differentiation to find an equation of the tangent line to the curve at the given point.
I've found the derivative of the function to be:
To find the tangent line at (3,1), you just plug in the values to find the slope, correct? I've done this and can't seem to find the right tangent line at that point..