\[ 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 = 0.115556 (sec), leaf count = 15
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]
\[\{\{y(x)\to c_1 x+c_2 \sin (x)\}\}\] ✓ Maple : cpu = 4.603 (sec), leaf count = 59
dsolve(diff(diff(y(x),x),x) = -x*sin(x)/(cos(x)*x-sin(x))*diff(y(x),x)+sin(x)/(cos(x)*x-sin(x))*y(x),y(x))
\[y \left (x \right ) = \sin \left (x \right ) \left (\left (\int {\mathrm e}^{\int \frac {-2 \left (\cos ^{3}\left (x \right )\right ) x +3 \left (\cos ^{2}\left (x \right )\right ) \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 )}d x} \cos \left (x \right )d x \right ) c_{2}+c_{1}\right )\]