Hey I've got a question here where I need to find an integrating factor to make an equation exact, but it's in two variables and I'm having trouble finding both values!

To do this i'm using the exactness formula Which gives me:For what values of m and n will be an integrating factor for the differential equation

But i'm not sure where to go from here to get another equation to find m and n. A push in the right direction would be awesome. Thanks for your help!

-Kasper