There is a theorem that will help you with substitution for integration. It is called Change of Variables for Definite Integrals.
what the theorem looks like is this
In order to get you must plug a into the function g and to get you must plug b into the function g.
The tricky part is trying to identify what you want to make your u to be. Some times substitution will not be enough and you will have to use the rules for integration by parts. That will be covered in a different section
Instead of making this a big polynomial we will just use the substitution method.
Identify your u
Now we plug in our limits of integration to our u to find our new limits of integration
Now our integration problem looks something like this
write your new integration problem
When we plug in our u it looks like
Evaluate the Integral
As you can see this all simplified fairly nice. Using substitution will be hard, for most people, at first. Once you get the hang of doing this it should come to you faster and faster each time.
I'll give you some other problems to work on as well.