I had this during an exam
$$ (x+2) \sin(y) dx + x \cos(y)dy = 0 $$
and it was not given what method I am supposed to use in order to solve this differentiation equation. I have tried to solve it with exact equation, integrating factors, Laplace, separable but I was unable to solve it. What method should I have used to solve it?