Write down the solution for this math problem: Solve 1024 = -138*i + 269 - 1315 for i.
-15