\(a,\Rightarrow x^2+4x+4+x^2-2x+1+x^2-9-3x^2=-8\\ \Rightarrow2x=-4\\ \Rightarrow x=-2\\ b,\Rightarrow2021x\left(x-2020\right)-\left(x-2020\right)=0\\ \Rightarrow\left(2021x-1\right)\left(x-2020\right)=0\\ \Rightarrow\left[{}\begin{matrix}x-2020=0\\2021x-1=0\end{matrix}\right.\Rightarrow\left[{}\begin{matrix}x=2020\\x=\dfrac{1}{2021}\end{matrix}\right.\)