Write the function x3 - 6x^2 - x + 30 in factored form knowing that one of the roots is 5

Group of answer choices

(x - 5)(x -2)(x + 3)

(x + 5)(x - 2)(x + 3)

(x + 5)(x + 2)(x - 3)

(x - 5)(x + 2)(x - 3)