A (p + 1) metres long ladder reaches a height
of (2p - 5) metres when it is leaned against a
wall. Given that the distance between the foot
of the ladder and the wall is p metres, find the
value of p..​