understanding the chain rule 1476335