The distance between two points (x₁, y₁) and (x₂, y₂) can be calculated using the formula:

From the problem, we identify:

a.
Using the formula, we calculate the exact length of the segment PQ (which is equal to the distance between the points P and Q):

b.
From the previous answer, the approximate length is:
