Let's start again from here:
DollarBill said:
Sin(y) + x cos(y)dy/dx = dy/dx cos(x) - y sin(x)
[itex]dy \over{dx}[/itex] is a variable, and it happens to be the variable you are trying to solve for in the above equation.
Start by moving the terms that have [itex]dy \over{dx}[/itex] in them to one side of the equation and move the terms that don't have [itex]dy \over{dx}[/itex] in them to the other side.
For example, if I had the equation [itex]Ax+sin(y) \frac{dy}{dx}=By\frac{dy}{dx}-3cos(x)[/itex], I would solve it as follows:
Step 1; isolate the terms with [itex]dy \over{dx}[/itex]:
[tex]Ax+sin(y) \frac{dy}{dx}=By\frac{dy}{dx}-3cos(x) \Rightarrow sin(y) \frac{dy}{dx}-By\frac{dy}{dx}=-Ax-3cos(x)[/tex]
Step 2; factor out a [itex]dy \over{dx}[/itex]:
[tex]sin(y) \frac{dy}{dx}-By\frac{dy}{dx}=-Ax-3cos(x) \Rightarrow \frac{dy}{dx}(sin(y)-By)=-Ax-3cos(x)[/tex]
Step 3: divide by [itex](sin(y)-By)[/itex] and hence solve for [itex]dy \over{dx}[/itex]:
[tex]\frac{dy}{dx}=\frac{-Ax-3cos(x)}{(sin(y)-By)}[/tex]
and so my answer would be [tex]\frac{-Ax-3cos(x)}{(sin(y)-By)}[/tex]
Apply this method to your problem.