Answer
$$p=-5\quad \mathrm{or}\quad \:p=9$$
Work Step by Step
Since the value inside the absolute value can be positive or negative and get the same number, we must consider both options. Doing this, we find:
$$3p-6=-21\quad \mathrm{or}\quad \:3p-6=21 \\ p=-5\quad \mathrm{or}\quad \:p=9$$