\[ y''(x)=\frac {y(x) \sin (x)}{x \cos (x)-\sin (x)}-\frac {x \sin (x) y'(x)}{x \cos (x)-\sin (x)} \] ✗ Mathematica : cpu = 1.24282 (sec), leaf count = 0 , could not solve
DSolve[Derivative[2][y][x] == (Sin[x]*y[x])/(x*Cos[x] - Sin[x]) - (x*Sin[x]*Derivative[1][y][x])/(x*Cos[x] - Sin[x]), y[x], x]
✓ Maple : cpu = 17.292 (sec), leaf count = 61
\[ \left \{ y \left ( x \right ) ={\it \_C1}\,\sin \left ( x \right ) +{\it \_C2}\,\sin \left ( x \right ) \int \!{{\rm e}^{\int \!{\frac {-2\, \left ( \cos \left ( x \right ) \right ) ^{3}x+3\, \left ( \cos \left ( x \right ) \right ) ^{2}\sin \left ( x \right ) -\sin \left ( x \right ) }{\cos \left ( x \right ) \left ( \cos \left ( x \right ) x-\sin \left ( x \right ) \right ) \sin \left ( x \right ) }}\,{\rm d}x}}\cos \left ( x \right ) \,{\rm d}x \right \} \]