Solve for \(p\) by isolating it on one side:
\[
3p + 1 = 2\sqrt{3} \quad \text{or} \quad 3p + 1 = -2\sqrt{3}
\]
For the first equation:
\[
3p = 2\sqrt{3} - 1
\]
\[
p = \frac{2\sqrt{3} - 1}{3}
\]
For the second equation:
\[
3p = -2\sqrt{3} - 1
\]
\[
p = \frac{-2\sqrt{3} - 1}{3}
\]