Consider the polynomial function P(x) = x² - 8x³ + ax² + 2x +4, where a is an
unknown real number. If (x-2) is a factor of P(x), what is the value of a?