We follow the algorithm called "long divisions of polynomials" and divide P(x) by (x-2):
Since P(2)=0; that is, x=2 is a zero of P(x), (x-2) is a factor of P(x). Hence, as expected, the remainder R(x)=0. We obtain the factorization
How do you find the remaining zeros of P(x)?