TeX source:
\operatorname{f \circ g}(x)=f(g(x))=5(2 x+1)-4=10 x+1