It's separable, remove from the first bracket and from the second.
This is the Diff Eq.
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.