\(\left(x^2-9\right)^2=12x+1\)
\(\Leftrightarrow x^4-18x^2+81=12x+1\)
\(\Leftrightarrow x^4-18x^2+81-12x-1=0\)
\(\Leftrightarrow x^4-2x^3+2x^3-4x^2-14x^2+28x-40x+80=0\)
\(\Leftrightarrow x^3\left(x-2\right)+2x^2\left(x-2\right)-14x\left(x-2\right)-40\left(x-2\right)=0\)\(\Leftrightarrow\left(x-2\right)\left(x^3+2x^2-14x-40\right)=0\)
\(\Leftrightarrow\left(x-2\right)\left(x-4\right)\left(x^2+6x+10\right)=0\)
\(\Leftrightarrow\left[{}\begin{matrix}x-2=0\\x-4=0\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}x=2\\x=4\end{matrix}\right.\)