It is given that distance between P (4, p) and is 5.
In general, the distance between A and B is given by,
So,
On further simplification,
So the answer is (a)