Formula for slope: [tex] \frac{y_2 - y_1}{x_2 - x_1} [/tex]
1) First, you would need to plug the coordinates into the formula.
[tex] \frac{-3 - 1}{8 + 8}[/tex]
Now, all you would have to do is solve and simplify.
[tex] \frac{-3 - 1}{8 + 8}[/tex] = [tex] \frac{-4}{0} [/tex] = undefined
The slope is vertical. So it would be undefined.
2) First, you would need to plug the coordinates into the formula.
[tex] \frac{-8 + 8}{8 + 5} [/tex]
Now, all you would have to do is solve and simplify.
[tex] \frac{-8 + 8}{8 + 5} [/tex] = [tex] \frac{0}{13} [/tex] = 0
This slope is horizontal, so the slope would be 0.
I hope this helps!