Factor LaTeX:  \displaystyle 18 x^{3} - 63 x^{2} - 18 x + 63 .

Factoring out the GCF LaTeX:  \displaystyle 9 from each term gives LaTeX:  \displaystyle 9(2 x^{3} - 7 x^{2} - 2 x + 7) . Grouping the first two terms and factoring out their GCF, LaTeX:  \displaystyle x^{2} , gives LaTeX:  \displaystyle x^{2}(2 x - 7) . Grouping the last two terms and factoring out their GCF, LaTeX:  \displaystyle -1 , gives LaTeX:  \displaystyle -1(2 x - 7) . The polynomial now has a common binomial factor of LaTeX:  \displaystyle 2 x - 7 . This gives LaTeX:  \displaystyle 9[x^{2} \left(2 x - 7\right) -1 \cdot \left(2 x - 7\right)] = 9\left(2 x - 7\right) \left(x^{2} - 1\right) . The quadratic factor can be factored using the difference of squares to give LaTeX:  \displaystyle 9\left(x - 1\right) \left(x + 1\right) \left(2 x - 7\right).