Assuming that I have the functions identified correctly, the derivative calculation should work like this. This is really messy, so I'll split the derivatives out for now.
Am I doing this right?
This one makes my brain spin:
Find the derivative:
I see four composed functions here (sorry I'm running out of letters at the end):
Since I probably have already made a mistake, I'll just stop here for now to see what people think of this.