Example 8 : P is a point equidistant from two lines l and m intersecting at point A (see figure). Show that the line AP bisects the angle between them.