Example 3 Find the distance between the points P(1