show that P is equidistant from A and B.