if you put the points into the equation y2 - y1/x2 - x1 you'll end up with a zero in the denominator, which indicates a vertical slope. Basically the slope(m) is undefined
It's really easy to tell if your answer is going to be undefined if both the x values are the same (in this case they're both 9)