Or can approach it this way:
So, after a quick check for homogeneous, exact, and explicit calc. of an integrating factor via partials, we expand the differentials and attempt to group them together to form exact differentials:
Well, the ydx-xdy can be grouped as:
This leaves us with:
Can you re-arrange this now to obtain exact differentials which can be integrated?