a) Ta có: \(x+\left(-5\right)=-\left(-7\right)\)
\(\Leftrightarrow x-5=7\)
\(\Leftrightarrow x=7+5=12\)
Vậy: x=12
b) Ta có: \(-5\cdot\left|x\right|=-30\)
\(\Leftrightarrow\left|x\right|=-30:\left(-5\right)=6\)
hay \(x\in\left\{6;-6\right\}\)
Vậy: \(x\in\left\{6;-6\right\}\)
c) Ta có: \(2x+20=-22\)
\(\Leftrightarrow2x=-22-20=-42\)
hay x=-21
Vậy: x=-21
d) Ta có: \(\left|x+2\right|=4\)
\(\Leftrightarrow\left[{}\begin{matrix}x+2=4\\x+2=-4\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}x=2\\x=-6\end{matrix}\right.\)
Vậy: \(x\in\left\{2;-6\right\}\)