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