a: 2x-261=-21
=>\(2x=-21+261=240\)
=>\(x=\dfrac{240}{2}=120\)
b: \(15\cdot\left(-2\right)-x=45\)
=>-30-x=45
=>x=-30-45=-75
c: \(-18+\left(7-x\right)^2=-2\)
=>\(\left(x-7\right)^2-18=-2\)
=>\(\left(x-7\right)^2=-2+18=16\)
=>\(\left[{}\begin{matrix}x-7=4\\x-7=-4\end{matrix}\right.\Leftrightarrow\left[{}\begin{matrix}x=11\\x=3\end{matrix}\right.\)
d: \(2x-1⋮x+1\)
=>\(2x+2-3⋮x+1\)
=>\(-3⋮x+1\)
=>\(x+1\inƯ\left(-3\right)\)
=>\(x+1\in\left\{1;-1;3;-3\right\}\)
=>\(x\in\left\{0;-2;2;-4\right\}\)