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