Answer:
[tex]g(x) = -\frac{1}{2}\tan{x}[/tex]
Step-by-step explanation:
Tangent function:
The tangent function is:
[tex]f(x) = \tan{x}[/tex]
Horizontally compressed by a factor of 1/2
Horizontally compressing by a factor of 1/2 is multiplying by 1/2. So
[tex]g(x) = \frac{1}{2}\tan{x}[/tex]
Reflected over the x-axis.
Reflecting a function over the x-axis is the same as multiplying it by -1. Then g is given by:
[tex]g(x) = -\frac{1}{2}\tan{x}[/tex]