\[y = kx + b;\ \ A( - 2;11);B(12;4):\]
\[\left\{ \begin{matrix} - 2k + b = 11 \\ 12k + b = 4\ \ \ \\ \end{matrix} \right.\ \ ( - )\]
\[- 14k = 7\]
\[k = - \frac{1}{2};\]
\[b = 11 + 2k = 11 - 1 = 10.\]
\[Уравнение\ прямой:\]
\[y = - 0,5x + 10.\]