The distance between two points (x1,y1) and (x2,y2) is given by the following formula:
In this case, we are given the points (6,2) and (1,8), by replacing 6 for x1, 1 for x2, 2 for y1, and 8 for y2, we get:
Then, the distance between these points is around 7.8 units