When you are given two endpoint, and you are required to calculate the distance, you can use the formula;
8.0m questions
10.7m answers