TeX source:
f(x)= \log_5(x^2+2x)