Second-Order Chain Rule