\(A=\left(x+3\right)^2+\left(x-3\right)\left(x+3\right)-2\left(x+2\right)\left(x-4\right)\)
\(=x^2+6x+9+x^2-9-2\left(x^2-2x-8\right)\)
\(=10x+16\)
\(=10\left(-\dfrac{1}{2}\right)+16=11\)
\(A=\left(x+3\right)^2+\left(x-3\right)\left(x+3\right)+2\left(x+2\right)\left(x-4\right)\)
\(=x^2+6x+9+x^2-9-2\left(x^2-2x-8\right)\)
\(=2x^2+6x-2x^2+4x+16\)
\(=10x+16=5+16=21\)