(x-2020)x - 1 - (x - 2020)x + 2019 = 0
=> (x - 2020)x - 1 .[(x - 2020)2020 - 1] = 0
=> \(\orbr{\begin{cases}\left(x-2020\right)^{x-1}=0\\\left(x-2020\right)^{2020}-1=0\end{cases}\Rightarrow\orbr{\begin{cases}x-2020=0\\\left(x-2020\right)^{2020}=1^{2020}\end{cases}\Rightarrow}\orbr{\begin{cases}x-2020=0\\x-2020=\pm1\end{cases}}}\)
=> \(x-2020\in\left\{0;1;-1\right\}\Rightarrow x\in\left\{2020;2021;2019\right\}\)