HOW CAN YOU USE THE X COORDINATES ( 6 AND -2) OF THE POINTS TO FIND THE DISTANCE?

From the given question
There are given that the point of x-coordinates (6, and -2)
Now,
From the distance formula:
[tex]D=\sqrt[]{(x_2-x_1)^2+(y_2-y_1)^2}[/tex]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,
[tex]\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}[/tex]Hence, the value of the distance is shown below:
[tex]D=\sqrt[]{10}[/tex]