Find the value of c so that (x+1) is a factor of the polynomial p(x).
p(x)=2x^4-5x^2+cx+1
p(x)=2x^4-5x^2+cx+1