Write down the solution for this math problem: Solve 76*z = 34*z + 294 for z.
7