First multiply 8 times 5 and 8 times -2x since 5 and to -2x our in the parentheses. Now you have 40-16x=24. Subtract 40 from both sides to get -16x=-16. Finally divide both sides by negative 16 to get x alone. The answer is x=1. Remember that whatever you do on one side you must do to the other side.