This is the Diff Eq. $\displaystyle (y*x^2 + y*x -y)dx + (y*x^2-2x^2)dy=0$

This is not an Exact form Diff Eq. So I am trying to get an integrating factor using (My-Nx)/N or (My-Nx)/-M , but I cant get a factor function that only depends on x or Y.

Any help is appreciated.

Thanks