h: \(x^2-6x=-9\)
=>\(x^2-6x+9=0\)
=>\(\left(x-3\right)^2=0\)
=>x-3=0
=>x=3
i: \(x^2-x-6=0\)
=>\(x^2-3x+2x-6=0\)
=>\(\left(x-3\right)\left(x+2\right)=0\)
=>\(\left[{}\begin{matrix}x-3=0\\x+2=0\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}x=3\\x=-2\end{matrix}\right.\)