Rewrite \({x}^{2}-6x+9\) in the form \({a}^{2}-2ab+{b}^{2}\), where \(a=x\) and \(b=3\).
\[{x}^{2}-2(x)(3)+{3}^{2}=0\]
Use Square of Difference: \({(a-b)}^{2}={a}^{2}-2ab+{b}^{2}\).
\[{(x-3)}^{2}=0\]
Take the square root of both sides.
\[x-3=0\]
Add \(3\) to both sides.
\[x=3\]
x=3