Solve -45706 = 174*z - 39094 for z.
-38