The value of p is 10.
For four numbers a,b,c, and d to be in proportion, the ratio of the first two must equal the ratio of the last two:
ba=dc
Given the numbers 3, 5, p+5, and 25:
53=25p+5
Cross-multiply to solve for p:
3×25=5×(p+5)
Simplify both sides:
75=5p+25
Subtract 25 from both sides:
50=5p
Divide by 5:
p=10