I was doing 11 question in end of the chapter excercise of chapter orienting yourself: the use of coordinate geometry. The solution given in this app is slightly confusing when you find p. Can anyone give an simpler solution?  
Aanya's image