Solve for p -1<p+3<5