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