I need help on this I can’t remember how to do it

Answer:
[tex]g(x)=7^{\frac{x}{3}}+1[/tex]Explanation:
The function f(x) is given as:
[tex]f(x)=7^x+1[/tex]If a function, f(x) is horizontally compressed by a factor of k units, the transformation rule is:
[tex]f(x)\to f(kx)[/tex]Therefore, if f(x) is transformed to g(x) through a horizontal compression by a factor of 1/3, the function g(x) is:
[tex]g(x)=7^{\frac{x}{3}}+1[/tex]