Solve this math problem

Solve 10 = -146*i + 505 + 527 for i.
7