Step 1:
First, we calculate the distance between points P and Q using the distance formula:
\[d(P, Q) = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}\]
where \(x_1, y_1\) are the coordinates of point P and \(x_2, y_2\) are the coordinates of point Q.
Show more…