\[y = kx + b;\ \ A\ (2; - 1);\ \ \]
\[\text{B\ }(1; - 3)\]
\[\left\{ \begin{matrix} 2k + b = - 1 \\ k + b = - 3\ \ \\ \end{matrix} - \right.\ \text{\ \ \ \ \ \ \ \ }\]
\[\left\{ \begin{matrix} k = 2\ \ \ \ \\ b = - 5 \\ \end{matrix} \right.\ \]
\[Формула:\ \ y = 2x - 5.\ \]