a)
\(\Leftrightarrow-4\le x-1\le4\Leftrightarrow\left(-4+1\right)\le x\le\left(4+1\right)\)
\(-3\le x\le5\)
b) \(\Leftrightarrow\left[{}\begin{matrix}x-2018\ge2020\\x-2018\le2020\end{matrix}\right.\)\(\Leftrightarrow\left[{}\begin{matrix}x\ge2020+2018=4038\\x\le2020+2018=4038\end{matrix}\right.\)