Solve for X:
35+X (X-6)+X (X+3) = X (X-5)+X (X+7)
Expand out terms of the left hand side:
2 X^2-3 X+35 = X (X-5)+X (X+7)
Expand out terms of the right hand side:
2 X^2-3 X+35 = 2 X^2+2 X
Subtract 2 X^2+2 X from both sides:
35-5 X = 0
Factor constant terms from the left hand side:
-5 (X-7) = 0
Divide both sides by -5:
X-7 = 0
Add 7 to both sides:
Answer: | X = 7