TeX source:
f(x) = 3x^2+(6-6r)x-12r