To obtain the equation of the line that passes through these points, you can first obtain the slope of the line, using the formula
![\begin{gathered} m=(y_(2)-y_(1))/(x_(2)-x_(1)) \\ \text{ Where m is the slope of the line and} \\ (x_1,y_1),(x_2,y_2)\text{ are two points through which the line passes} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/eg6qugsgxzz2kdaas74jdj157c9h28ajth.png)
And then use the point-slope formula
![y-y_1=m(x-x_1)](https://img.qammunity.org/2023/formulas/mathematics/high-school/csobd57zth7rh9k4hz9amldzpq2owf0z4j.png)
So, in this case, you have
![\begin{gathered} (x_1,y_1)=(5,-2) \\ (x_2,y_2)=(5,18) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/zteosaism2l2jq1qoxejjj0kjyzshf8ixm.png)
![\begin{gathered} m=(18-(-2))/(5-5) \\ m=(18+2)/(0) \\ m=(20)/(0) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/vaw1kcxgjwdeo79noixxn26r76gjhdtrf6.png)
Since the division by 0 is an indeterminacy then the slope of this line is not defined and these points pass through a vertical line that passes through x = 5, as you can see in the graph
Therefore, the slope of the line is undefined and the equation of the line that passes through these pair of points is
![x=5](https://img.qammunity.org/2023/formulas/mathematics/college/8424ptidkrqocakuhf6dono7i2squ3g3qw.png)