Question
Solve for x.
2, left parenthesis, minus, x, plus, 1, right parenthesis, plus, 5, x, plus, 4, equals, minus, 12
2(−x+1)+5x+4=
−12
2, left parenthesis, minus, x, plus, 1, right parenthesis, plus, 5, x, plus, 4, equals, minus, 12
2(−x+1)+5x+4=
−12
Answers
GPT-4o mini
We start with the equation:
\[ 2(-x + 1) + 5x + 4 = -12 \]
Now, let's distribute the \(2\) on the left side:
\[ 2 \cdot (-x) + 2 \cdot 1 + 5x + 4 = -12 \]
This simplifies to:
\[ -2x + 2 + 5x + 4 = -12 \]
Next, we can combine like terms on the left side. Combine \(-2x\) and \(5x\), and also combine \(2\) and \(4\):
\[ (-2x + 5x) + (2 + 4) = -12 \]
This results in:
\[ 3x + 6 = -12 \]
Now, to isolate \(3x\), we subtract \(6\) from both sides of the equation:
\[ 3x = -12 - 6 \]
This simplifies to:
\[ 3x = -18 \]
Next, divide both sides by \(3\) to solve for \(x\):
\[ x = \frac{-18}{3} \]
Thus, we have:
\[ x = -6 \]
So, the solution is:
\[ \boxed{-6} \]
\[ 2(-x + 1) + 5x + 4 = -12 \]
Now, let's distribute the \(2\) on the left side:
\[ 2 \cdot (-x) + 2 \cdot 1 + 5x + 4 = -12 \]
This simplifies to:
\[ -2x + 2 + 5x + 4 = -12 \]
Next, we can combine like terms on the left side. Combine \(-2x\) and \(5x\), and also combine \(2\) and \(4\):
\[ (-2x + 5x) + (2 + 4) = -12 \]
This results in:
\[ 3x + 6 = -12 \]
Now, to isolate \(3x\), we subtract \(6\) from both sides of the equation:
\[ 3x = -12 - 6 \]
This simplifies to:
\[ 3x = -18 \]
Next, divide both sides by \(3\) to solve for \(x\):
\[ x = \frac{-18}{3} \]
Thus, we have:
\[ x = -6 \]
So, the solution is:
\[ \boxed{-6} \]