Example 5: Calculate the distance between two points under the following conditions: A point in Q1 and a point in Q2, whole number distance.