\[ 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.286452 (sec), leaf count = 22
\[\left \{\left \{y(x)\to -x (\cos (x)-1)+\frac {1}{-\log (x)+c_1}\right \}\right \}\] ✓ Maple : cpu = 0.168 (sec), leaf count = 20
\[\left \{y \left (x \right ) = -\left (\cos \left (x \right )-1\right ) x +\frac {1}{c_{1}-\ln \left (x \right )}\right \}\]