<s>[INST] How Do The Integration of The Given Expression Is $27\pi$ Basically, this is a double integration question from the book Calculus 2 by Howard Anton. Half of the question is resolved and now I'm at this stage where I can't prove the left hand side to the right hand side.
$$
\int_{-3}^3 (6\sqrt {9-x^2} - 2x \sqrt{9-x^2}) dx = 27\pi
$$
 [/INST] Observe that $\sqrt{9 - x^2}$ is an even function and $x \sqrt{9 - x^2}$ is an odd function. Therefore, the given integral is equal to
\begin{equation*}
2 \times \int_0^3 6 \sqrt{9 - x^2} \,\mathrm dx = 12 \int_0^3 \sqrt{9 - x^2} \,\mathrm dx.
\end{equation*}
Now, substituting $x = 3 \sin t$, the integral becomes
\begin{align*}
12 \int_0^{\pi/2} (3 \cos t) (3 \cos t)\,\mathrm dt & = 12 \times 9 \int_0^{\pi/2} \cos^2 t\,\mathrm dt\\
& = 12 \times 9 \times \dfrac 1 2 \times \dfrac {\pi} 2\\
& = 27\pi.
\end{align*}
</s>