Ta có:
\(x^2-2\left(2m+1\right)x+4m^2+4m=0\\ \Leftrightarrow\left(x^2-2mx\right)-2\left(m+1\right)x+4m\left(m+1\right)=0\\ \Leftrightarrow x\left(x-2m\right)-2\left(m+1\right)\left(x-2m\right)=0\\ \Leftrightarrow\left(x-2m\right)\left(x-2m-2\right)=0\Leftrightarrow x_1=2m;...or...x_2=2m\)
\(\Rightarrow\left(x_1-2m\right)\left(x_2-2m\right)=0\Leftrightarrow\left(x_1-2m\right)^2\left(x_2-2m\right)^2=0\Leftrightarrow\left(x_1^2-4mx_1+4m^2\right)\left(x_2^2-4mx_2+4m^2\right)=0\)