a: \(=12x^2-9x-12x^2-10x+6x+5=-13x+5\)
b: \(=3x\left(x^2-2x+1\right)-2x\left(x^2-9\right)+4x^2-16x\)
\(=3x^3-6x^2+3x-2x^3+18x+4x^2-16x\)
\(=x^3-2x^2+3x\)
c: \(=x^3-3x^2+3x-1+x^3+8+3\left(x^2-16\right)\)
\(=2x^3-3x^2+3x+7+3x^2-48=2x^3+3x-41\)
d: \(=\left(x^3+1\right)\left(x^3-1\right)=x^6-1\)