I step by step explanation

Answer:
The slope of line formed by given two points is undefined as the denominator becomes zero.
Step-by-step explanation:
Given points are:
(2,4) and (2,-2)
Here
[tex]x_1 = 2\\y_1 = 4\\x_2 = 2\\y_2= -2[/tex]
Slope is defined as the steepness of a line in the plane.
It is denoted by m and is given by the formula:
[tex]m = \frac{y_2-y_1}{x_2-x_1}\\[/tex]
Putting the values we get
[tex]m = \frac{-2-4}{2-2}\\m = \frac{-6}{0}\\m = \infty[/tex]
The slope of line formed by given two points is undefined as the denominator becomes zero.