The point-slope form of the equation of a line is given as per below;
[tex]y-y_1=m(x-x_1)[/tex]where m = slope.
Let's go ahead and find the slope of the line using the below equation;
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]From the question, we know that x1 = 5, x2 = 5, y1 = -9 and y2 = 8.
So let's substitute these values into the above equation and find the slope;
[tex]\begin{gathered} m=\frac{8-(-9)}{5-5} \\ m=\frac{8+9}{0} \\ m=\frac{17}{0} \\ \therefore m=\text{undefined} \end{gathered}[/tex]We can see that the slope of the line is undefined. So it means that the line is a vertical line because x2-x1 = 0.
Our equation will now be y = -9
NB: Vertical lines always have undefined slope while horizontal lines always have their slope to be equal to zero.