Identify the value of p.

The figure shows a right triangle. One leg has a length of 5 units. The other leg has a length of p units. The hypotenuse has a length of p plus 1 units.

p = 13
p = 10
p = 12
p = 11