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