(a4 - 3a2 + 9).(a2 + 3) - (3 + a2)3
= a6 + 27 - 27 - 9a4 - 27a2 - a6
= -9a4 - 27a2
\(\left(a^4-3a^2+9\right)\left(a^2+3\right)-\left(3+a^2\right)^3\)
\(=\left[\left(a^2\right)^3+3^3\right]-\left(27+9a^4+27a^2+a^6\right)\)
\(=a^6+27-27-9a^4-27a^2-a^6\)
\(=-9a^4-27a^2\)