This is LaTeX code:
[latex]
\displaystyle(\frac{\sqrt{x+1}-1}{x})'
[/latex]