The question: State the general solutuon of: $$5x_1-2x_2+4x_3=5$$
My attempt: I tried following closely an example provided for homogeneous equations without any luck:
$$ x=\begin{bmatrix}x_1\\x_2\\x_3\end{bmatrix}= \begin{bmatrix}2x_2-4x_3+5\\x_2\\x_3\end{bmatrix}= x_2\begin{bmatrix}2\\1\\0\end{bmatrix} +x_3\begin{bmatrix}-4\\0\\1\end{bmatrix} +\begin{bmatrix}5\\1\\1\end{bmatrix} $$
And after this step I get stuck since I don't know whether is correct and should proceed with the solution space (and also how to find the solution space for non homogenous equations)
As for who might be concerned, the question is homework related.
It would be nice to know why I got downvoted so I can improve my question
Based on the feedback received from @Isham the system should have been written as follows:
$$ x=\begin{bmatrix}5x_1\\x_2\\x_3\end{bmatrix}= \begin{bmatrix}2x_2-4x_3+5\\x_2\\x_3\end{bmatrix}= \begin{bmatrix}2/5x_2-4/5x_3+1\\x_2\\x_3\end{bmatrix}= x_2\begin{bmatrix}2/5\\1\\0\end{bmatrix} +x_3\begin{bmatrix}-4/5\\0\\1\end{bmatrix} +\begin{bmatrix}1\\0\\0\end{bmatrix} $$
According to your equation Lucian, it should be rather this:
$x=\begin{bmatrix}x_1\\x_2\\x_3\end{bmatrix}= \begin{bmatrix}2/5x_2-4/5x_3+1\\x_2\\x_3\end{bmatrix}= x_2\begin{bmatrix}2/5\\1\\0\end{bmatrix} +x_3\begin{bmatrix}-4/5\\0\\1\end{bmatrix} +\begin{bmatrix}1\\0\\0\end{bmatrix}$