Answer
undefined
Work Step by Step
Recall that slope is defined by the change in value of $y$ for every change in value of $x$. If we are to graph the equation $x=2$, we are going to have a vertical line that runs parallel to the $y-axis$ without any change in the value of $x$. Using the equation for slope:
$$m=\frac{Δy}{Δx}$$ $$m=\frac{\infty}{0}$$
Therefore, the slope, $m$, is undefined.