This is an example problem from my textbook. I read through its solution, but was confused by the following step.
$$x=\frac{\omega^{2}A\cos(\omega t-\delta)}{\sqrt{(\omega_{0}^{2}-\omega^{2})^{2}+\omega^{2}\gamma^{2}}}+A\cos\omega t$$
The textbook proceeds to say that, quote
Since $x$ is a superposition of two cosine terms in $\omega t$, we can write it as $$x=C(\omega)\cos(\omega t-\alpha)$$, where $$[C(\omega)]^2=\frac{A^{2}(\omega_{0}^{4}+\omega^{2}\gamma^{2})}{(\omega_{0}^{2}-\omega^{2})^{2}+\omega^{2}\gamma^{2}}$$
I am confused how it gets there