References: Homework 3 | Chain Rule