Notice that the exponents of x are multiples of 4: 0, 4 and 8.
We can rewrite x^8 as follows:
[tex]x^8=\left(x^4\right)^2[/tex]Then, one way to write the given expression in quadratic form is:
[tex]9x^8-21x^4+12=9(x^4)^2-21(x^4)+12[/tex]Therefore, the expression in quadratic form is:
[tex]\begin{equation*} 9(x^4)^2-21(x^4)+12 \end{equation*}[/tex]