The functions are and .
From the Leibniz notation
Differentiating above equation with respect to x.
.
Product rule of derivatives: .
By the chain rule,