Start by expanding the left hand side:

which leads to

Now we want to move all terms involving the variable to the left hand side, and all constant terms on the right hand side:

Simplify both sides by summing like terms:
Divide both sides by -8 to solve for x:
