The solution of the second-order differential equation \[ \frac{d^2 y}{dx^2} + 2 \frac{dy}{dx} + y = 0 \] with boundary conditions \( y(0) = 1 \) and \( y(1) = 3 \) is