Answer:
Ok, the straightforward thing you can do, when you have a number line like in this situation, you can just "count" the number of units that are between A and B.
Now, a more correct way:
First, A is located at the value -3, then we can write:
A = -3.
And B is located at the value 5, then:
B = 5.
Now, the distance between A and B is equivalent to the difference between A and B:
D = B - A = 5 - (-3) = 8
The distance between A and B is 8 units.