\[ y''(x)=-\frac {\sec (x) y'(x) \left (x^2 \sin (x)-2 x \cos (x)\right )}{x^2}-\frac {y(x) \sec (x) (2 x \cos (x)-x \sin (x))}{x^2} \] ✗ Mathematica : cpu = 1.22522 (sec), leaf count = 0 , could not solve
DSolve[Derivative[2][y][x] == -((Sec[x]*(2*x*Cos[x] - x*Sin[x])*y[x])/x^2) - (Sec[x]*(-2*x*Cos[x] + x^2*Sin[x])*Derivative[1][y][x])/x^2, y[x], x]
✓ Maple : cpu = 0.239 (sec), leaf count = 12
\[ \left \{ y \left ( x \right ) =x \left ( \sin \left ( x \right ) {\it \_C2}+{\it \_C1} \right ) \right \} \]