\[ 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.0526249 (sec), leaf count = 22
\[\left \{\left \{y(x)\to \frac {1}{c_1-\log (x)}-x (\cos (x)-1)\right \}\right \}\]
✓ Maple : cpu = 0.167 (sec), leaf count = 22
\[ \left \{ y \left ( x \right ) =-{\frac { \left ( 2\,\cos \left ( x \right ) -2 \right ) x}{2}}+ \left ( {\it \_C1}-\ln \left ( x \right ) \right ) ^{-1} \right \} \]