With a multi-variable function such as:
To determine the partial derivative of z with respect to x, y must be held as a constant and vice versa when finding the partial derivative of z with respect to y:
Therefore: