f(x) = -x2 + 2xy + 2y3 = 2
Then find the derivative of that:
f'(x) = -2x + 2y + 2xy' + 6y2y' = 0
Keep all of your terms containing y' on one side and move anything else to the other side:
2xy' + 6y2y' = 2x - 2y
Then factor out y' from the left side:
y' [2x + 6y2] = 2x - 2y
And then finally divide the right side by the terms inside the brackets:
y' = [2x - 2y] / [2x + 6y2]
From here you should be able to determine your slope, cause y' is the same thing as your slope (m). Then from there you can work out the equation of the tangent line. Hope this helped! :)