\[ a y(x)^2-b \cos (c+x)+y(x) y'(x)=0 \] ✓ Mathematica : cpu = 0.192063 (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.049 (sec), leaf count = 106
\[ \left \{ y \left ( x \right ) ={\frac {1}{4\,{a}^{2}+1}\sqrt {16\,{\it \_C1}\, \left ( {a}^{2}+1/4 \right ) ^{2}{{\rm e}^{-2\,ax}}+16\, \left ( \cos \left ( x+c \right ) a+1/2\,\sin \left ( x+c \right ) \right ) \left ( {a}^{2}+1/4 \right ) b}},y \left ( x \right ) =-{\frac {1}{4\,{a}^{2}+1}\sqrt {16\,{\it \_C1}\, \left ( {a}^{2}+1/4 \right ) ^{2}{{\rm e}^{-2\,ax}}+16\, \left ( \cos \left ( x+c \right ) a+1/2\,\sin \left ( x+c \right ) \right ) \left ( {a}^{2}+1/4 \right ) b}} \right \} \]