Just square the top and bottom. z^2 over 25
recall, slope = rise/run, and that a fraction is undefined when the denominator is 0, meaning this slope has a run = 0.
to make it short, when the slope is undefined, is a flag that we simply have a vertical line. Check the picture below.
One 10 80 in 10 Is your answer for that question