For the first line, we have the direction vector $\vec{d_1} = \begin{pmatrix} k \\ 2 \\ k-1 \end{pmatrix}$.
For the second line, we have the direction vector $\vec{d_2} = \begin{pmatrix} -2 \\ 0 \\ 1 \end{pmatrix}$.
Now, we know that two vectors are
Show more…