I already know this equation is not exact. The thing is, I never learned how to do partial derivatives so that is what I need help with. The equation is

I know that the sign in the middle needs to be + so then you have .

Then M= and N= . So, I need help getting .