Which of the following expressions is equivalent to 6x3−12x2+18x?
6x(x2−2x+3)
6(x3−2x2+3x)
6x2(x−2+3/x)
x(6x2−12x+18)