Solve -161*z + 2186 + 86 = 123*z for z.
8