TeX source:
g_1(x)=(x-1)^2