Write down the solution for this math problem: Solve -4582 = 1576*z + 1405 + 5045 for z.
-7