Given the linear equation:
-2*x^2+x+7 = -x^2+5*x+(-2-x^2)
Expand brackets in the right part
-2*x^2+x+7 = -x^2+5*x+-2-x+2
Looking for similar summands in the right part:
7 + x - 2*x^2 = -2 - 2*x^2 + 5*x
Move free summands (without x)
from left part to right part, we given:
$$- 2 x^{2} + x = - 2 x^{2} + 5 x - 9$$
Move the summands with the unknown x
from the right part to the left part:
$$\left(-2\right) x^{2} + \left(-4\right) x = \left(-2\right) x^{2} + -9$$
Divide both parts of the equation by (-4*x - 2*x^2)/x
x = -9 - 2*x^2 / ((-4*x - 2*x^2)/x)
We get the answer: x = 9/4