I am supposed to use the Factor Theorem to either factor the polynomial completely or to prove that it has no linear factors with integer coefficients.

I think I haven't completely understood the whole concept yet, which is why I couldn't get my brain working on the following problems.

a. P(x)= x^4+4x^3-7x^2-34x-24

b. P(x)= x^6-6x^5+15x^4-20x^3+15x^2-6x+1

I think these are harder than the regular ones like P(x)=x^3+2x^2-9x+3, etc.

Thanks.