The graph of $f(x)$ is shown below.
For each point $(a,b)$ on the graph of $y = f(x),$ the point $\left( 3a - 1, \frac{b}{2} \right)$ is plotted to form the graph of another function $y = g(x).$ For example, $(0,2)$ lies on the graph of $y = f(x),$ so $(3 \cdot 0 - 1, 2/2) = (-1,1)$ lies on the graph of $y = g(x).$
(a) Plot the graph of $y = g(x).$ Include the diagram in your solution.
(b) Express $g(x)$ in terms of $f(x).$
(c) Describe the transformations that you would apply to the graph of $y = f(x)$ to obtain the graph of $y = g(x).$ For example, one transformation might be to stretch the graph horizontally by a factor of $5.$
