The chain rule as multiplying slopes