\[ \boxed { {\frac {{\rm d}^{2}}{{\rm d}{x}^{2}}}y \left ( x \right ) + \left ( {\frac {\rm d}{{\rm d}x}}y \left ( x \right ) \right ) \tan \left ( x \right ) +y \left ( x \right ) \left ( \cos \left ( x \right ) \right ) ^{2}=0} \]
Mathematica: cpu = 0.035004 (sec), leaf count = 18 \[ \left \{\left \{y(x)\to c_2 \sin (\sin (x))+c_1 \cos (\sin (x))\right \}\right \} \]
Maple: cpu = 0.063 (sec), leaf count = 15 \[ \left \{ y \left ( x \right ) ={\it \_C1}\,\sin \left ( \sin \left ( x \right ) \right ) +{\it \_C2}\,\cos \left ( \sin \left ( x \right ) \right ) \right \} \]