From the given question
There are given that the point of x-coordinates (6, and -2)
Now,
From the distance formula:
![D=\sqrt[]{(x_2-x_1)^2+(y_2-y_1)^2}](https://img.qammunity.org/2023/formulas/mathematics/college/ak1qelegvclwyfd7a2zhaqxzfglhsosdsg.png)
So,
We can put the value of x-coordinate, which is given in the question, into the above formula to find the distance.
For example:
Let y- coordinate is (5, 1)
Then,
From the above formula, put all values from both point (6, -2) and (5, 1)
So,
![\begin{gathered} D=\sqrt[]{(x_2-x_1)^2+(y_2-y_1)^2} \\ D=\sqrt[]{(5_{}-6)^2+(1_{}+2_{})^2} \\ D=\sqrt[]{(-1)^2+(3)^2} \\ D=\sqrt[]{1^{}+9} \\ D=\sqrt[]{10} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/vgkc7lfwocw9l7ur7iw8rk9iiyxth247n9.png)
Hence, the value of the distance is shown below:
![D=\sqrt[]{10}](https://img.qammunity.org/2023/formulas/mathematics/college/lv0v55urssr38dj3s83n8z0vls5vz3hvyo.png)