Test for exactness. If exact, solve, If not, use an integrating factor as given or find it by inspection or from the theorems in the text. Also, if an initial condition is given, determine the corresponding particular solution.
$$\left(e^{x+y}-y\right) d x+\left(x e^{x+y}+1\right) d y=0$$