This is LaTeX code:

[latex]
\displaystyle \ln (x+2)-\ln 2=\ln(\frac{x}{2}+1)
[/latex]