Slope of the two non vertical lines is
.
The x-coordinate are same. So, the line is x = 4. The line is vertical line.
\So, slope is undefined.
Check the solution by substituting the values.
\Replace
in slope formula.

(Subtract:
)
(Subtract:
)
(Divide:
)
Slope is undefined.
Slope is undefined.