TeX source:
f\left(\dfrac{1}{2} x+1\right)-3=f\left(\dfrac{1}{2}(x+2)\right)-3