How do you use the chain rule to differentiate #root9(-cosx)#?