If x+k is a factor of the polynomial P(x)=2x3+10x2−28x, and k is a positive constant, which of the following must be true?
P(k)=0
P(−k)=0
P(0)=k
P(k)=−k