So you for first partial in z, you take the derivative as if everything except for z is a variable.

since:

then if z is the only varible, everything attached to it is just some number so you can view the arctan as a constant, say b.

so:

and the partial derivative of that in terms of z then is:

we substitute b back in and get:

can you do the rest from there?