The expression for the linear equation is :
[tex]\begin{gathered} y-y_1=\frac{y_2-y_1}{x_2-x_1}(x-x_1) \\ \text{ We have given points : (2,10) \& (-10, -2)} \\ \text{Substitute the value and simplify} \\ y-10=\frac{-2-10}{-10-2}(x-2) \\ y-10=\frac{-12}{-12}(x-2) \\ y-10=x-2 \\ x-y+8=0 \end{gathered}[/tex]Requred equation : x - y + 8 =0