Answer:
The equation of the line is x = 2
Explanation:
* It is a coordinate geometry problem.
We need to find the equation of a line with undefined slope.
* The slope is undefined
The line passing through point (2 , 5)
* The rule to find the slope is

The slope is undefined if

That means the line passing through points have same x-coordinate
That means the line is vertical
* ∵ The line passing through point (2 , 5)
∵ The slope of the line is undefined
∴ All the points on the line have x-coordinate = 2
∴ The equation of the line is ⇒ x = 2
* The answer is x=2