\[ y''(x)=y(x) \csc ^2(x)-\cot (x) y'(x) \] ✓ Mathematica : cpu = 0.0580307 (sec), leaf count = 51
\[\left \{\left \{y(x)\to c_1 \cosh \left (\log \left (\cos \left (\frac {x}{2}\right )\right )-\log \left (\sin \left (\frac {x}{2}\right )\right )\right )-i c_2 \sinh \left (\log \left (\cos \left (\frac {x}{2}\right )\right )-\log \left (\sin \left (\frac {x}{2}\right )\right )\right )\right \}\right \}\]
✓ Maple : cpu = 0.05 (sec), leaf count = 25
\[ \left \{ y \left ( x \right ) ={\frac {\sin \left ( x \right ) {\it \_C1}}{\cos \left ( x \right ) -1}}+{\frac { \left ( \cos \left ( x \right ) -1 \right ) {\it \_C2}}{\sin \left ( x \right ) }} \right \} \]