Final answer:
The value of p is -9.
Step-by-step explanation:
The equation can be solved by rearranging it to isolate the variable p. We start by subtracting p from both sides: p - 18 = 3p - 0. Simplifying further, we get -18 = 2p. Dividing both sides by 2, we find that p = -9.