\[ x^2 y''(x)+\left (x^2+2\right ) y'(x)+x^2 (-\sec (x))-2 x y'(x)=0 \] ✗ Mathematica : cpu = 300.004 (sec), leaf count = 0 , timed out
$Aborted
✓ Maple : cpu = 0.08 (sec), leaf count = 34
\[ \left \{ y \left ( x \right ) =x \left ( -\cos \left ( x \right ) \int \!{\frac {\sin \left ( x \right ) }{\cos \left ( x \right ) x}}\,{\rm d}x+\cos \left ( x \right ) {\it \_C1}+\sin \left ( x \right ) \left ( {\it \_C2}+\ln \left ( x \right ) \right ) \right ) \right \} \]