\(\left(x+3\right)\left(x^2-3x+9\right)-\left(x^3+54\right)\)
\(=x^3+3^3-x^3-54\)
\(=27-54\)
\(=-27\)
a) (x+3)(x2-3x+9)-(54+x3)
= x3-3x2+9x+3x2-9x+27-54+x3
= -27
\(\left(x+3\right)\left(x^2-3x+9\right)-\left(54+x^3\right)\)
\(=x^3-3x^2+9x+3x^2-9x+27-54-x^3\)
\(=-27\)