The slope of line is undefined.
Explanation
Correct answer: A.
Choice A is correct. It is given that line is perpendicular to a line whose equation is . A line whose equation is a constant value of is vertical, so must therefore be horizontal. Horizontal lines have a slope of , so has a slope of .
Desmos solution:
Note: The line x = 2 is vertical, so a perpendicular line must be horizontal with slope 0.
Enter in Desmos:
Reviewed and rewritten by CookSAT
Why the other choices are wrong
Choice B
Choice B is incorrect. A line with slope is perpendicular to a line with slope . However, the line with equation is vertical and has undefined slope (not slope of ).
Choice C
Choice C is incorrect. A line with slope is perpendicular to a line with slope . However, the line with equation has undefined slope (not slope of ).
Choice D
Choice D is incorrect; this is the slope of the line itself, not the slope of a line perpendicular to it.