Bài 2:
a: Ta có: \(x^3-27+3x\left(x-3\right)\)
\(=\left(x-3\right)\left(x^2+3x+9\right)+3x\left(x-3\right)\)
\(=\left(x-3\right)\cdot\left(x+3\right)^2\)
b: Ta có: \(5x^3-7x^2+10x-14\)
\(=x^2\left(5x-7\right)+2\left(5x-7\right)\)
\(=\left(5x-7\right)\left(x^2+2\right)\)