Fundamental theorem of calculus: chain rule