Answer:
The equation x = 5 represents a vertical line passing through the point (5, 0) on the x-axis. A vertical line has an undefined slope because the rise (change in y) is undefined when the run (change in x) is zero. Therefore, the slope of the line x = 5 is undefined.