Câu 9 (1,5 điểm). Phân tích các đa thức sau thành nhân tử:
a) $5\left( x+2y \right)-15x\left( x+2y \right)$.
b) $4{{x}^{2}}-12x+9$.
c) ${{(3x-2)}^{3}}-3\left( x-4 \right)\left( x+4 \right)+{{(x-3)}^{3}}-\left( x+1 \right)\left( {{x}^{2}}-x+1 \right)$.
a) \(5\left(x+2y\right)-15x\left(x+2y\right)=\left(x+2y\right)\left(5-15x\right)\\ =5\left(x+2y\right)\left(1-3x\right)\)
b) \(4x^2-12x+9=\left(2x\right)^2-2.2x.3+3^2\\=\left(2x-3\right)^2\)
c) \(\left(3x-2\right)^3-3\left(x-4\right)\left(x+4\right)+\left(x-3\right)^3-\left(x+1\right)\left(x^2-x+1\right)\\ =27x^3-54x^2+18x-8-3\left(x^2-16\right)+x^3-9x^2+27x-27-\left(x^3+1\right)\\=27x^3-54x^2+18x-8-3x^2+48+x^3-9x^2+27x-27-x^3-1\\ =27x^3-57x^2+36x+12\\ =3\left(3x^3-19x^2+12x+4\right)\)
c) \(27x^3-54x^2+36x-8-3x^2+48+x^3-9x^2+27x-27-x^3-1\\ =27x^3-66x^2+63x+12\\=3\left(9x^3-22x^2+21x+4\right)\)