If "x" is the same for both equations, then they are equivalent.
(i.e., the equations have same roots), then the equations are equivalent.
Then p = -5