6. Solve \( (\sin(xy) + xy\cos(xy) + ye^x) dx + (x^2\cos(xy) + e^x) dy = 0 \) . (10%)