You first use rational roots test. After you look for rational roots you see that is a zero and so dividing by we get . Now move on over to the second factor. Notice it has no zeros. But it does not necessarily make it irreducible. You need to show that is impossible for any integers by expanding out this side and comparing coefficients. Same idea for the second polynomial.