TeX source:
g(x)=-t x^2+t^3