\[ a y(x)^2-b \cos (c+x)+y(x) y'(x)=0 \] ✓ Mathematica : cpu = 0.207979 (sec), leaf count = 118
\[\left \{\left \{y(x)\to -\frac {\sqrt {4 a^2 c_1 e^{-2 a x}+4 a b \cos (c+x)+c_1 e^{-2 a x}+2 b \sin (c+x)}}{\sqrt {4 a^2+1}}\right \},\left \{y(x)\to \frac {\sqrt {4 a^2 c_1 e^{-2 a x}+4 a b \cos (c+x)+c_1 e^{-2 a x}+2 b \sin (c+x)}}{\sqrt {4 a^2+1}}\right \}\right \}\] ✓ Maple : cpu = 0.05 (sec), leaf count = 106
\[ \left \{ y \left ( x \right ) ={\frac {1}{4\,{a}^{2}+1}\sqrt {16\, \left ( {a}^{2}+1/4 \right ) ^{2}{\it \_C1}\,{{\rm e}^{-2\,ax}}+16\, \left ( {a}^{2}+1/4 \right ) \left ( a\cos \left ( x+c \right ) +1/2\,\sin \left ( x+c \right ) \right ) b}},y \left ( x \right ) =-{\frac {1}{4\,{a}^{2}+1}\sqrt {16\, \left ( {a}^{2}+1/4 \right ) ^{2}{\it \_C1}\,{{\rm e}^{-2\,ax}}+16\, \left ( {a}^{2}+1/4 \right ) \left ( a\cos \left ( x+c \right ) +1/2\,\sin \left ( x+c \right ) \right ) b}} \right \} \]