Let's solve the equation step by step:
Given: \[ 12 - (16 - 8x + x^2) = 3x - x^2 \]
First, simplify the left side:
Distribute the negative sign inside the parentheses: \[ 12 - 16 + 8x - x^2 \]
Combine like terms: \[ -4 + 8x - x^2 \]
So the left side simplifies to: \[ -x^2 + 8x - 4 \]
Now, we can rewrite the equation: \[ -x^2 + 8x - 4 = 3x - x^2 \]
Next, we can eliminate \( -x^2 \) from both sides: \[ 8x - 4 = 3x \]
Now, subtract \( 3x \) from both sides: \[ 8x - 3x - 4 = 0 \] \[ 5x - 4 = 0 \]
Now, solve for \( x \): \[ 5x = 4 \] \[ x = \frac{4}{5} \]
Thus, the solution to the equation is: \[ x = \frac{4}{5} \]