You can put this solution on YOUR website! I'm assuming the problem is:
Given:
Find: dy/dx
If this is not correct then then you'll have to repost your question, being clearer about the problem.
If the equation was
would you know how to find its derivative? (I hope so because the solution to your problem depends on this.) This is a derivative where you bring the exponent down in front (as a coefficient) and then subtract one from the exponent:
Of course we don't actually have , we have . In a situation like this, where you have a function where it would be nice to just have x, we use the Chain Rule. We find the derivative, treating cos(x) just as if it was x and then we multiply this result by the derivative of cos(x) (which is -sin(x):