Use logarithmic differentiation, and do it implicitly. See the link below. (I assume the variable z inside the first parenthesis a typo; I changed it to variable x.)
https://drive.google.com/file/d/1t6vyT15eBaUiharyX6x01UWxSNltz0s8/view?usp=sharing
Hope this helps and good luck with your study.