Write a function $g$g​ whose graph represents a translation 5 units up of the graph of $f\left(x\right)=3x$f(x)=3x​ .