Given two points
and
, the equation of the line passing through them is
![(x-x_2)/(x_1-x_2)=(y-y_2)/(y_1-y_2)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/t7drh1buc5otnvg4x37e4zp1flhz8dsy1u.png)
This formula, however, only works if the points don't share any of the two coordinates. Otherwise, one of the two conditions is true:
![x_1=x_2,\quad y_1=y_2](https://img.qammunity.org/2020/formulas/mathematics/middle-school/20pdd8nfze9up0q97kju5o56yj8d34sopa.png)
And at least one of the denominators in the formula above will vanish.
So, if two points share the same x coordinate, they lie on the vertical line x=k, where k is the shared x coordinate.
Similarly, if two points share the same y coordinate, they lie on the horizontal line y=k, where k is the shared y coordinate.
In your case, the x coordinate is the same, so the points lie on the vertical line x=10.