\[ \boxed { \cos \left ( x \right ) {\frac {\rm d}{{\rm d}x}}y \left ( x \right ) +y \left ( x \right ) + \left ( 1+\sin \left ( x \right ) \right ) \cos \left ( x \right ) =0} \]
Mathematica: cpu = 0.054007 (sec), leaf count = 53 \[ \left \{\left \{y(x)\to c_1 e^{-2 \tanh ^{-1}\left (\tan \left (\frac {x}{2}\right )\right )}+e^{-2 \tanh ^{-1}\left (\tan \left (\frac {x}{2}\right )\right )} \left (\sin (x)+4 \log \left (\cos \left (\frac {x}{2}\right )-\sin \left (\frac {x}{2}\right )\right )\right )\right \}\right \} \]
Maple: cpu = 0.062 (sec), leaf count = 29 \[ \left \{ y \left ( x \right ) ={\frac {\sin \left ( x \right ) +2\,\ln \left ( \cos \left ( x \right ) \right ) -2\,\ln \left ( \sec \left ( x \right ) +\tan \left ( x \right ) \right ) +{\it \_C1}}{\sec \left ( x \right ) +\tan \left ( x \right ) }} \right \} \]