Solving the equation $(x^2-3x+1)^2=4x^2-12x+9$ I need to solve the following equation:
$$(x^2-3x+1)^2=4x^2-12x+9.$$
I think I need to bring everything to one side but I don't know anything else.

$$(x^2-3x+1)^2=4x^2-12x+9$$
$$(x^2-3x+1)^2=4(x^2-3x+1)+5$$
$$(x^2-3x+1)^2-4(x^2-3x+1)-5=0$$
now let $u=(x^2-3x+1)^2$
so
$$u^2-4u-5=0$$
$$(u+1)(u-5)=0$$
then complete the solution
