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