First of all, recall that y is a product of function of x. We have three factors:

The derivative of a product of function is computed by deriving one function at the time, and then adding all the results:

Let's compute the derivative of each function first:

Now plug f, f', g, g', h, h' in the formula above as required:
