Here is what I did:
$$\tan(xy)=y+2$$
$$(xy')(y)\sec^2(xy)=y'$$
Now I'm stuck on simplifying this. How do I get all the y's on one side and divide?
Here is what I did:
$$\tan(xy)=y+2$$
$$(xy')(y)\sec^2(xy)=y'$$
Now I'm stuck on simplifying this. How do I get all the y's on one side and divide?
There's an error in what you've done.
Taking the derivative of both sides yields $$\text{sec}^2(xy)\left( xy' +y \right) = y'$$
Now solve for $y'$.
$$\text{sec}^2(xy)xy' - y' = -y\cdot \text{sec}^2(xy)$$ $$\Rightarrow y'\left(x\cdot\text{sec}^2(xy)-1\right) = -y\cdot \text{sec}^2(xy)$$ $$\Rightarrow y' = \frac{-y\cdot \text{sec}^2(xy)}{x\cdot\text{sec}^2(xy)-1}$$.