Given that the system of equations is $:x+y+z=6$----->(1)
$x+2y+3z=10$----->(2)
$x+2y+kz=5$----->(3)
Write in terms of matrix$:$$A=\begin{bmatrix} 1 &1 &1 \\ 1 &2 &3 \\ 1 &2 &k \end{bmatrix}$ and $B=\begin{bmatrix} 6\\10 \\5 \end{bmatrix}$
Now we can write in the form of Augmented matrix $[A:B]=\begin{bmatrix} 1 &1 & 1:6\\ 1 &2 &3 :10\\ 1 &2 &k :5 \end{bmatrix}$
Perform the some operation in the row $3$.
$R_{3} \rightarrow R_{3}-R_{2}$
we get,$[A:B]$$=\begin{bmatrix} 1 &1 & 1:6 \\ 1 &2 &3 :10\\ 0 &0 &k-3 :-5 \end{bmatrix}$
$Case(1):$ $For$ $No$ $Solution$
$If$ $Rank(A)\neq Rank([A:B])$
we can simply put $k-3=0$,So we get $Rank(A)=2$ $and$ $Rank([A:B])=3$, which is $2\neq3$
So$,k=3$
$Case(2):$ $Unique$ $Solution$
Rank(A)=Rank([A:B])=Unknowns(Number of Variables)
So,we can put $k-3\neq0$,which give Rank(A)=Rank([A:B])=Unknowns=3.
So$, k\neq3$
$Case(3):$ $Infinitely$ $many$ $numbers$ $of$ $solutions$
Rank(A)=Rank([A:B])<Unknowns(Number of Variables)
Which is not possible for this question.