You can put this solution on YOUR website! p = sqrt(2p-1)
Squaring both the sides
==> p^2 = 2p-1
==> p^2 - 2p = 2p -1 -2p [subtracting 2p from both the sides]
==> p^2 - 2p = -1
==> p^2 - 2p + 1 = -1 + 1 [adding 1 to both the sides]
==> p^2 - 2p + 1 = 0
==> (p - 1)^2 = 0 [because a^2 - 2ab + b^2 = (a - b)^2]
taking sqrt,
p-1 = 0
==> p = 1
Good Luck!!!