When solving an equation involving square roots by squaring both sides, always check for extraneous solutions. In this case, the equation $3\sqrt{5+p^2} = 4p$ itself implies that $4p$ must be non-negative (since the square root is non-negative). This condition $p \ge 0$ allows you to discard the negative solution obtained after squaring.