The solution of the equation \(\frac{\mathrm{d} y}{\mathrm{~d} x}=\frac{1}{x+y+1}\) is
\(x=\mathrm{log}(x+y+2)+\mathrm{c}\), where c is the constant of integration
\(x=\mathrm{log}(x+y-2)+\mathrm{c}\), where c is the constant of integration
\(y=\mathrm{log}(x+y+2)+c\), where \(c\) is the constant of integration
\(y=\mathrm{log}(x+y-2)+\mathrm{c}\), where c is the constant of integration