The distance between two points is given by the following formula:
[tex]d=\sqrt[]{(y2-y1)^2+(x2-x1)^2}[/tex]Where (x1,y1) and (x2,y2) are the coordinates of the two points.
By replacing the known values we can solve for d as follows:
[tex]\begin{gathered} d=\sqrt[]{(8-6)^2+(5-5)^2} \\ d=\sqrt[]{(2)^2+(0)^2} \\ d=\sqrt[]{4+0} \\ d=\sqrt[]{4} \\ d=2 \end{gathered}[/tex]Therefore, the distance between (5,6) and (5,8) is 2.