I was never really that sure about substitution but i think this is how it works...
When it says to do a u-sub it means set x to be equal to some function containing u. This also means that you should change your limits as well.
In this case, set and hence then .
So put this into your equation and you get...
.
= .
=