What is the solution to this math problem?
Solve -622*x - 845*x = -1119*x + 10440 for x.
-30