\(A=x^2\sqrt{9-x^2}=\frac{x^2}{\sqrt{3}}.\sqrt{3}.\sqrt{9-x^2}\)
\(\le\frac{x^2}{\sqrt{3}}.\frac{\left(3+9-x^2\right)}{2}\)
\(=\frac{1}{2\sqrt{3}}.\left(-x^4+12x^2\right)=\frac{1}{2\sqrt{3}}.\left(-x^4+12x^2-36+36\right)\)
\(=\frac{1}{2\sqrt{3}}.\left(36-\left(x^2-6\right)^2\right)\le\frac{36}{2\sqrt{3}}=6\sqrt{3}\)