the chain rule says:
basically, to find the derivative of a composite function, differentiate the outer function (leaving the inner function intact) then multiply by the derivative of the inside function
as for knowing the derivative is correct, look up the answer in your text ...or check it with integration, but i don't suppose you have started integration as yet