Basic idea is the same. Treat other variables as constant, and differentiate with respect to the variable of your interest.