Conisder that for the line x = 2, all points of the line has the same x coordinate, which means that this is a vertical line.
Three points of the line are, for instance:
(2,-4)
(2,0)
(2,4)
The graph is shown below:
the red line is the equation x = 2.