Formula for slope:

1) First, you would need to plug the coordinates into the formula.

Now, all you would have to do is solve and simplify.

=

=
undefinedThe slope is vertical. So
it would be undefined.
2) First, you would need to plug the coordinates into the formula.

Now, all you would have to do is solve and simplify.

=

=
0This slope is horizontal, so
the slope would be 0.
I hope this helps!