You can put this solution on YOUR website!
Take the log of both sides.
Then simplify
Remember
I'll do the left hand side to get you started.
Gather all the z terms on one side, all the constant terms on the other side.
You'll end up with a fraction with many log terms in the numerator and denominator.