20 = 5x + 2 - 2x

Check the final answer first, then review the worked steps.

Answer

6

Work

20 = 5x + 2 - 2x
20 = 3x + 2
18 = 3x
x = 6

Step-by-step solution

  1. Combine the like terms $5x$ and $-2x$ on the right side: $20 = 3x + 2$.
  2. Subtract $2$ from both sides to isolate the term with $x$: $18 = 3x$.
  3. Divide both sides by $3$ to solve for $x$: $x = 6$.