\(-24+5x=7x-2(-3x+4)\)
Distribute -2 into (-3x+4).
\(-24+5x=7x+6x-8\)
Combine like terms and reorder to make it easier to read.
\(5x-24=13x-8\)
Add 24 to both sides.
\(5x=13x+16\)
Subtract 13x from both sides.
\(-8x=16\)
Divide both sides by -8.
\(x=-2\)