2. Looking at the behaviour of g(x) for p<0 or for 3<p<128, we get two real roots.
Just draw a tentative graph, keeping in mind that the function attains minima at x=-4(this is global minimum) and x=1 (local) and local maximum at x=0. Then it becomes clear.