To solve the equation \( 3x + 30 + x = 10 + 2x + 5x + 2 \), we first simplify both sides.
On the left side: \[ 3x + x + 30 = 4x + 30 \]
On the right side: \[ 10 + 2x + 5x + 2 = 10 + 2 + 2x + 5x = 12 + 7x \]
Now we can rewrite the equation as: \[ 4x + 30 = 12 + 7x \]
Next, we'll get all the \( x \) terms on one side and the constant terms on the other side. Subtract \( 4x \) from both sides: \[ 30 = 12 + 7x - 4x \] \[ 30 = 12 + 3x \]
Now, subtract \( 12 \) from both sides: \[ 30 - 12 = 3x \] \[ 18 = 3x \]
Now, divide both sides by \( 3 \): \[ x = \frac{18}{3} = 6 \]
Thus, the solution is: \[ \boxed{6} \]