Solve the following system of equations in field $\Bbb R$ depending on the real parameter $\lambda$:
$$\lambda x_1+2x_2+x_3+x_4=1$$ $$2x_1-x_2-x_4=1$$ $$4x_1+3x_2+2x_3+\lambda x_4=3$$ $$5x_2+2x_3+3x_4=1$$ My attempt: $$\begin{pmatrix} \lambda &2 &1 &1 | &1\\ 2 &-1 &0 &-1 | &1\\ 4 &3 &2 &\lambda | &3\\ 0 &5 &2 &3 | &1\\ \end{pmatrix}\sim \begin{pmatrix} 2 &-1 &0 &-1 |&1\\ \lambda &2 &1 &1 |&1\\ 4 &3 &2 &\lambda |&3\\ 0 &5 &2 &3| &1\\ \end{pmatrix}\sim \begin{pmatrix} 2 &-1 &0 &-1 | &1\\ 0 &\frac{\lambda+4}{2} &1 &\frac{\lambda+2}{2}| &\frac{2-\lambda}{2}\\ 0 &5 &2 &2+\lambda | &1\\ 0 &5 &2 &3|&1\\ \end{pmatrix}\sim\begin{pmatrix} 2 &-1 &0 &-1| &1\\ 0 &\frac{\lambda+4}{2} &1 &\frac{\lambda+2}{2} |&\frac{2-\lambda}{2}\\ 0 &5 &2 &2+\lambda | &1\\ 0 &0 &0 &1-\lambda| &0\\ \end{pmatrix}$$
For $\lambda\neq 1$ the system has no solution. For $\lambda=1$ we have:
$$\begin{pmatrix} 2 &-1 &0 &-1 |&1\\ 0 &\frac{5}{2} &1 &\frac{3}{2} | &\frac{1}{2}\\ 0 &5 &2 &3 |&1\\ 0 &0 &0&0| &0\\ \end{pmatrix}\sim\begin{pmatrix} \\2 &0 &\frac{2}{5} &-\frac{2}{5}|&\frac{6}{5}\\ 0 &\frac{5}{2} &1 &\frac{3}{2} |& \frac{1}{2}\\ 0 &0 &0&0| &0\\ 0 & 0 &0 &0| &0 \end{pmatrix}\sim\begin{pmatrix} 5 &0 &1 &-1| &3\\ 0 &5 &2 &3 |&1\\ 0 &0 &0 &0|&0\\ 0 &0 &0 &0|&0 \end{pmatrix}$$
$$ \Rightarrow 5x_1+x_3-x_4=3$$ $$5x_2+2x_3+3x_4=1$$
$$\Rightarrow x_1=\frac{3}{5}-\frac{x_3}{5}+\frac{x_4}{5}$$ $$x_2=\frac{1}{5}-\frac{2x_3}{5}-\frac{3x_4}{5}$$
$$X=\begin{pmatrix} x_1\\ x_2\\ x_3\\ x_4 \end{pmatrix}=\begin{pmatrix} \frac{3}{5}\\ \frac{1}{5}\\ 0\\ 0 \end{pmatrix}+t\begin{pmatrix} -\frac{1}{5}\\ -\frac{2}{5}\\ 1\\ 0 \end{pmatrix}+s\begin{pmatrix} \frac{1}{5}\\ -\frac{3}{5}\\ 0\\ 1 \end{pmatrix}t,s\in\Bbb R$$
Is this correct?