\(-2\left(2x+1\right)=-5\left(x+1\right)\)
\(\Leftrightarrow\left(-2\right)\times2x+\left(-2\right)\times1=-5x+\left(-5\right)\times1\)
\(\Leftrightarrow\left(-2\right)\times2x+\left(-2\right)=-5x+\left(-5\right)\)
\(\Leftrightarrow-4x+\left(-2\right)=-5x-5\)
\(\Leftrightarrow-4x+\left(-2\right)+5x+5=0\)
\(\Leftrightarrow\left(-4x+5x\right)+\left[\left(-2\right)+5\right]=0\)
\(\Leftrightarrow\left[\left(-4\right)+5\right]x+3=0\)
\(\Leftrightarrow1x+3=0\)
\(\Leftrightarrow x+3=0\)
\(\Leftrightarrow x=0-3=-3\)
Vậy \(x=-3\)