\[ \boxed { \left ( {x}^{2}\cos \left ( y \left ( x \right ) \right ) +2\,y \left ( x \right ) \sin \left ( x \right ) \right ) {\frac {\rm d}{{\rm d}x}}y \left ( x \right ) +2\,x\sin \left ( y \left ( x \right ) \right ) + \left ( y \left ( x \right ) \right ) ^{2}\cos \left ( x \right ) =0} \]
Mathematica: cpu = 0.061508 (sec), leaf count = 21 \[ \text {Solve}\left [x^2 \sin (y(x))+y(x)^2 \sin (x)=c_1,y(x)\right ] \]
Maple: cpu = 0.078 (sec), leaf count = 19 \[ \left \{ \left ( y \left ( x \right ) \right ) ^{2}\sin \left ( x \right ) +\sin \left ( y \left ( x \right ) \right ) {x}^{2}+{\it \_C1}=0 \right \} \]