Answer
$\{3\}$
Work Step by Step
Use FOIL method on the left side and special formula $(a-b)^2=a^2-2ab+b^2$ on the right side, then combine like terms on each side to obtain:.
$\begin{align*}
x\cdot x- x\cdot 3+2\cdot x-2\cdot 3&=x^2-6x+9\\
x^2- 3x+2 x-6&=x^2-6x+9\\
x^2-x-6&=x^2-6x+9
\end{align*}$
Add $-x^2+6x+6$ to both sides.
$x^2-x-6-x^2+6x+6=x^2-6x+9-x^2+6x+6$
Simplify.
$5x=15$
Divide both sides by $5$.
$\dfrac{5x}{5}=\dfrac{15}{5}$
Simplify.
$x=3$
Hence, the solution to the equation is $\{3\}$.