Which value of z will allow both polynomials to be factored? Explain your answer.
x² - 6x + z
x² + 6x + z