You can put this solution on YOUR website! You are supposed to recognize that this is a quadratic equation in and you can make a substitution using any variable you like arbitrarily for and solve for this chosen variable first; and THEN solve further for z.
Start by doing something like, let , and first solve for .