The function g is:
[tex]g(x) = |4x| + 4[/tex]
----------------------
Horizontally shrinking a function f(x) by a factor of [tex]\frac{1}{a}[/tex] is equivalent to finding f(ax).
----------------------
In this question, the function is:
[tex]f(x) = |2x| + 4[/tex]
Horizontally shrinking by a factor of [tex]\frac{1}{2}[/tex] means that [tex]a = 2[/tex], so:
[tex]g(x) = f(ax) = f(2x) = |2(2x)| + 4 = |4x| + 4[/tex]
Thus, the function g is:
[tex]g(x) = |4x| + 4[/tex]
A similar question is given at https://brainly.com/question/20379647