Answer:
12
Step-by-step explanation:
Pythagoras theorem states that a^2+b^2=c^2
Therefore, 5^2=25 +p^2=P^2+2p+1
[tex]25+p^2=P^2+2p+1\\25=2p+1\\24=2p\\12=p[/tex]
Hope this helps:) Have a good day!