a) (x2 - 4x)2 = 4(x2 - 4x)
<=> (x2 - 4x)(x2 - 4x - 4) = 0
<=> x(x - 4)(x2 - 4x - 4) = 0
\(\Leftrightarrow\left[{}\begin{matrix}x=0\\x=4\\\left(x-2\right)^2=8\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}x=0\\x=4\\x=\pm\sqrt{8}+2\end{matrix}\right.\)
b) (x + 2)2 - x + 1 = (x - 1)(x + 1)
<=> x2 + 4x + 4 - x + 1 = x2 - 1
<=> 3x + 5 = -1
<=> x = -2