To find the slope(m), you use the slope formula:
(-5, -1) = (x₁, y₁)
(5, -7) = (x₂, y₂) [It doesn't matter which point you use for the 1st or 2nd point because it has the same result]
Now substitute/plug the points into the equation:
[Two negative signs cancel each other out and become positive]
Simplify the fraction