I've tried make the solution like this:
$xM(x,y)+xN(x,y)\frac{dy}{dx}=0$
and:
$yM(x,y)\frac{dx}{dy}+yN(x,y)=0$
Adding:
$xN(x,y)\frac{dy}{dx}+yM(x,y)\frac{dx}{dy}=0$
But i'm stucked here. I'm doing the right steps to get to the solution ?, thank you for your help.