TeX source:
g(x)=\frac{6 x^{3}-10 x}{2 x^{3}+5 x^{2}}