\(a,A=\left(x+6\right)^2+2\left(x-5\right)^2-\left(x+2\right)^2-2\left(x-3\right)^2\\ A=x^2+12x+36+2x^2-20x+50-x^2-4x-4-2x^2+12x-18\\ A=64\\ b,B=\left(x-2\right)\left(x^2+2x+4\right)-\left(x+2\right)\left(x^2-2x+4\right)=x^3-8-x^3-8=-16\)
a) \(A=\left(x+6\right)^2+2\left(x-5\right)^2-\left(x+2\right)^2-2\left(x-3\right)^2\)
\(=x^2+12x+36+2x^2-20x+50-x^2-4x-4-2x^2+12x-18\)
\(=64\)
b) \(B=x^3-8-x^3-8=-16\)