Im unable to simplify this, ive tried but i just cant seem to get it to work.. it goes a little like this -

I understand that

But i need to simplify this -

Which i think should eventually end up like this -

Can someone show me the steps please? Btw, i posted this in calculus, because it had origianlly started off as an integration question.