Write down the solution for this math problem: Solve -313 - 257 = -29*x + 39 for x.
21