Source TeX:
3(1-x)=\dfrac{x}{2}-5