I need to evaluate the following integral. I've looked at it in two ways, but I'm not sure which is correct, if any. We haven't really studied much integration this term, it's apparently more involved next term, but anyway...

I'm not sure whether I'm supposed to expand the equation first giving me the following...

Or, I'm not sure whether I should be evaluating it this way...