I have the following matrix to be solved for landa. here is the matrix with my answer (sorry for the wrong equation writing format):

but the correct equation from this matrix should be (when simplified):

Please explain what I'm doing wrong
I have the following matrix to be solved for landa. here is the matrix with my answer (sorry for the wrong equation writing format):

but the correct equation from this matrix should be (when simplified):

Please explain what I'm doing wrong
Laplace development with respect to the first row: \begin{align} \det\begin{bmatrix} 1-\lambda & 1 & 0 \\ 1 & -\lambda & -1 \\ -1 & 0 & 1-\lambda \end{bmatrix} &= (1-\lambda)\det\begin{bmatrix} -\lambda & -1 \\ 0 & 1-\lambda \end{bmatrix} - \det\begin{bmatrix} 1 & -1 \\ -1 & 1-\lambda \end{bmatrix} \\ &=-\lambda(1-\lambda)^2-(1-\lambda-1)\\ &=-\lambda(1-\lambda)^2+\lambda\\ &=\lambda(1-1+2\lambda-\lambda^2)\\ &=\lambda^2(2-\lambda) \end{align}