First, we complete the square in our integral to get
Now, let so that . This gives
Using the trig identity , we have
This last integral has a clever trick. Multiply top and bottom by
to get
Let so and so the above integral is
To get x back in the expression we need to draw our triangle.
(Here we used Pythagorean theorem to get the hypotenuse.) From the picture, we see that
and so
Thus,
completing the question.