Answer:
x = 5
Explanation:
You want the equation of a line with undefined slope and an x-intercept of 5.
Vertical line
Slope is the ratio of "rise" to "run" for a line. If the line is vertical, the "run" is zero, making the denominator of the ratio is zero. Division by zero gives an "undefined" result.
If the slope of a line is "undefined", it is a vertical line. It has the same x-value everywhere. Its equation is ...
x = c . . . . . for some constant
Application
Here, the vertical line crosses the x-axis at x=5. That is the equation of the line:
x = 5