\[ y''(x)=y(x) \csc ^2(x)-\cot (x) y'(x) \] ✓ Mathematica : cpu = 0.06058 (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.038 (sec), leaf count = 25
\[ \left \{ y \left ( x \right ) ={\frac {\sin \left ( x \right ) {\it \_C1}}{-1+\cos \left ( x \right ) }}+{\frac { \left ( -1+\cos \left ( x \right ) \right ) {\it \_C2}}{\sin \left ( x \right ) }} \right \} \]