What is the solution to this math problem?
Solve -189*i + 334*i + 1071 + 1238 = -2766 for i.
-35