Evaluate the integral by completing the square and using trigonometric substitution.
Note: Use C for an arbitrary constant.