Which shows one way to determine the factors of x^3-9x^2+5x-45 by grouping?

A)x^2(x-9)-5(x-9)
B)x^2((x+9)-5(x+9)
C)x(x^2+5)-9(x^2+5)
D)x(x^2-5)-9(x^2-5)