TeX source:
g(x)=3x\log_8\left(2\right)+x\log_8\left(2x\right)+2x\log_8\left(10x\right)