In order to determine the distance between numbers -8 and -2, you calculate the difference between the given number, just as follow:
-2 - (-8) = -2 + 8 = 6
Then, the distance between the given numbers is 6.
On a number line you obtain the following result: