How do you use the chain rule to differentiate #y=cos^6x#?