The answer is p = 4.
To solve this, follow the order of operations. See the example below.
-4 + (p/2) = -2 ---> Add 4 to both sides
p/2 = 2 -----> Multiply by 2
p = 4