Separate the variables and integrate:
\[
e \, dy = (x + 1) \, dx.
\]
Integrating both sides:
\[
\int e \, dy = \int (x + 1) \, dx \quad \Rightarrow \quad y = (x + 1)\log(x + 1) - x + C.
\]
Applying \(y(0) = 3\):
\[
3 = (0 + 1)\log(0 + 1) - 0 + C \quad \Rightarrow \quad C = 3.
\]
Thus, the solution is:
\[
y = (x + 1)\log(x + 1) - x + 3.
\]