You would set up the equation to be 2x-7+10=x+8. The you combine like terms which would give your 2x+3=x+8 then subtract three from both sides which gives you 2x=x+5. Then subtract 1x from both side which gives you 1x=5 then divide both side by 1, which gives you the answer, x=5, or b