How will you integrate dx
Now read this: Wolfram|Alpha
Note that the standard Weierstrass substitution is used: PlanetMath: Weierstrass substitution formulas
You will find several examples if you search these forums using the search tool.
(There are other ways of doing this integral but they rely on clever algebraic parlor tricks).