Let's build the equation counting how many x's and 1's are there on each side.
On the left hand side we have 5x's and 8 1's, for a total of 
On the left hand side we have 3x's and 10 1's, for a total of 
So, the equation we want to solve is

Subtract 3x from both sides:

Subtract 8 from both sides:

Divide both sides by 2:
