Final answer:
To find the equation of a line with an undefined slope, we use the fact that all vertical lines have the equation x=a, where 'a' is the x-coordinate of any point on the line.
Step-by-step explanation:
To find the equation of a line with undefined slope, we need to know the coordinates of another point on the line. Since the slope is undefined, the line is vertical, and all vertical lines have the equation of the form x = a, where 'a' is the x-coordinate of any point on the line. In this case, since the line passes through (-2, 2), the equation of the line would be x = -2.