\[y = kx + 7;\ \ \ \ M(2;\ - 1)\]
\[- 1 = 2k + 7\]
\[2k = - 8\]
\[k = - 4.\]
\[Ответ:\ \ при\ k = - 4.\]