Rules for Calculating the Derivative of a Function