The equation for lines in the standard form for a vertical line parallel to the y-axis indicates that the slope of the line is undefined and that along all values in y, the value in x is going to be the same.
according to the points given x is always equal to 2.
the equation of the line is