TeX source:
f(x)=/begin{cases}x^3,& x /le 2 /ax^2, & x>2 /end{cases}