When taking a partial derivative with respect to a certain variable, hold all other variables constant and differentiate like normal.