The slope (m) of a line passing through two points (x1,y1) and (x2,y2) is given by the formula:
\[m = \frac{y2 - y1}{x2 - x1}\]
Substituting the given points into the formula, we get:
\[m = \frac{-1 - 1}{5 - 1} = \frac{-2}{4} = -\frac{1}{2}\]
Show more…