[tex]\begin{gathered} \text{the slope is} \\ m=\frac{10-2}{2-10} \\ m=\frac{8}{-8} \\ \\ m=-1 \end{gathered}[/tex][tex]\begin{gathered} \text{ The slope that passes through the points }(x_1,y_1)\text{ and }(x_2,y_2) \\ m=\frac{y_2-y_1}{x_2-x_1} \end{gathered}[/tex]