Find an integrating factor and solve $(2x^2y + x)\,dy + (xy^2 + y)\,dx = 0$
I checked if it was exact, which it wasn't.
Then I found
$M/Y$ to be $xy + 1$
$N/Y$ to be $2xy + 1,$ but when I tried to put it in the form of
$n N/X - mM/Y$ I got $-2xy,$ which didn't really tell me much about the value of $n$ and $m.$
So I tried over by multiplying the original equation by $x^ny^m$ and didn't get two linear equations at the end but two equations, which still had $xy$ terms and am stuck now. Any help would be appreciated.