TeX source:
v(x)=\left(-\dfrac{1}{2}x-2\right)^2