Answer:
Vertical Compression
Explanation:
If y = f(x), then y = a×f(x) gives a vertical stretch when a > 1 and a vertical compression when 0 < a < 1.
For this question, each new point is 1/2 of the old point, meaning that a is 1/2.
Since 1/2 is a and 0 < a < 1, the transformation that occurred on the function f to get function g is a vertical compression.