\[ y'(x)=\frac {\frac {3 x^2}{2}+x^2 \sin (x)-2 x^2 \cos (x)+\frac {1}{2} x^2 \cos (2 x)-2 x y(x)+y(x)^2+2 x y(x) \cos (x)+x-x \cos (x)}{x} \] ✓ Mathematica : cpu = 0.231538 (sec), leaf count = 22
\[\left \{\left \{y(x)\to -x (\cos (x)-1)+\frac {1}{-\log (x)+c_1}\right \}\right \}\] ✓ Maple : cpu = 0.286 (sec), leaf count = 20
\[ \left \{ y \left ( x \right ) =- \left ( -1+\cos \left ( x \right ) \right ) x+ \left ( -\ln \left ( x \right ) +{\it \_C1} \right ) ^{-1} \right \} \]