\[ A x \left (a \sin ^2(x)+c\right )+y'(x) \left (a \sin ^2(x)+b\right )+a y(x) \sin (2 x)=0 \] ✓ Mathematica : cpu = 0.10867 (sec), leaf count = 77
\[\left \{\left \{y(x)\to \frac {\frac {1}{2} a A x^2-\frac {1}{2} a A x \sin (2 x)-\frac {1}{4} a A \cos (2 x)+A c x^2}{a \cos (2 x)-a-2 b}+\frac {c_1}{a \cos (2 x)-a-2 b}\right \}\right \}\] ✓ Maple : cpu = 0.053 (sec), leaf count = 53
\[ \left \{ y \left ( x \right ) ={\frac {-Aa\cos \left ( 2\,x \right ) -2\,Axa\sin \left ( 2\,x \right ) +2\,{x}^{2} \left ( a+2\,c \right ) A-8\,{\it \_C1}}{4\,a\cos \left ( 2\,x \right ) -4\,a-8\,b}} \right \} \]