Select the correct answer.
What are the factors of polynomial function g?
g(x)=x^3+2x2-x-2
А. (x - 2)(x - 1)(+ + 1)
B.(x - 2) (1 - 1)(x + 2)
C. (1 - 1) (1 + 1) (3 + 2)
D. (1 - 1) (1 + 1)