TeX source:
\frac{x+1}{2\cdot (x+1)}=\frac{1}{2}