Take the natural log of both sides (ln). Then you can take the (1/x) down to the front of the ln(tanx). Then take the dirivative of both sides.

When you do this and solve for yprime, you sill may have a y somewhere in your equation. You simply substitute your origional equation for y so you have a function of x only.