DSolve[Cos[x]*(1 + Sin[x]) + y[x] + Cos[x]*Derivative[1][y][x] == 0,y[x],x]