The question is in the following picture:
And the answer is (D).
At first I agreed with this answer when I added the given three vectors component wise,but when I added the forth component in the three vectors I understood that it is impossible that we can get 5, so my opinion changed to the choice (A), so what is the misconception that I have or where is my wrong thinking, could anyone help me please?
![enter image description here]](https://i.stack.imgur.com/Jv9pb.png)
The vectors are $(0,1,1,1)$, $(0,0,0,1)$ and $(1,1,2,0)$. Since your vector has first component $1$, this forces $(1,1,2,0)$ to appear with a coefficient $1$. This reduces your problem to $(1,m-2,5)$ with $(0,0,1)$ and $(1,1,1)$ (forget the first coordinate). The same argument now forces $(1,1,1)$ to appear with coefficient $1$, so $(0,m-3,4)$ is a multiple of $(0,0,1)$, only possible if $m=3$, in which case $(0,0,1)$ appears with coefficient $4$. This gives
$$(1,2,3,5) = (0,1,1,1)+4(0,0,0,1)+(1,1,2,0)$$