I have this as homework:
$(xy^2+y)dx+(x^2y-x)dy=0$
I tried to solve it by substituting $z=xy+1$, but got the answer like $y=Cxe^{xy}$, which, I guess, is wrong.
I tried to solve it couple of times, but with no success.
P.S. I'm new on math.stackexchange.com. Do I need to show the whole process?