The characteristic equation of
$$y''+2y'=\lambda y\tag{1}$$
is
$$ r^2+2r-\lambda =0 $$
whose solution is $r_{1,2}=-1\pm\sqrt{1+\lambda}$.
Case 1: If $\lambda=-1$, then $r_1=r_2=-1$ and hence $-1$ has the multiplicity 2. Therefore the general solution of (1) is
$$ y=C_1e^{-x}+C_2e^{-x}.$$
Using the boundary values $y(0)=y(1)=0$ gives $C_1=C_2=0$ and hence $\lambda=-1$ is not an eigenvalue.
Case 2: If $\lambda>-1$, then the general solution of (1) is
$$ y=C_1e^{r_1x}+C_2e^{r_2x}.$$
Using the boundary values $y(0)=y(1)=0$ gives $C_1=C_2=0$ and hence If $\lambda>-1$, then $\lambda$ is not an eigenvalue.
Case 3: If $\lambda<-1$, then $r_{1,2}=-1\pm i\sqrt{-1-\lambda}$ and hence the general solution of (1) is
$$ y=C_1e^{-x}\cos(\sqrt{-1-\lambda}x)+C_2e^{-x}\sin(\sqrt{-1-\lambda}x).$$
Using the boundary value $y(0)=0$ gives $C_1=0$. Using $y(1)=0$ gives $C_2e^{-1}\sin(\sqrt{-1-\lambda})=0$. So if $\sqrt{-1-\lambda}=n\pi$ or $\lambda=-1-n^2\pi^2$ for $n\in N$, (1) has nonzero solutions
$$ y=C_2\sin(n\pi x)$$
Hence $\lambda=-1-n^2\pi^2$ for $n\in N$ are all eigenvalues with the corresponding eigenfunctions $y=\sin(n\pi x)$.