I'm currently teaching myself calculus and I'm probably trying to run before I can walk, but I've been working on this problem..
I managed to find the correct result for:
by expanding it to:
and then working from there.
Is there a better/more general approach I could have taken? I've attempted to solve it using substitution but haven't had any success...