Solve for x.

x–x+2x+x=18
x=

1 answer

To solve the equation \( x - x + 2x + x = 18 \), we first simplify the left-hand side:

  1. Combine like terms: \[ x - x + 2x + x = 0 + 2x + x = 3x \]

  2. Now, the equation simplifies to: \[ 3x = 18 \]

  3. To solve for \( x \), divide both sides by 3: \[ x = \frac{18}{3} = 6 \]

Thus, the solution is: \[ \boxed{6} \]