There are two tranformations goinf from f(x) to g(x)
Frist, there is a reflection with respect to the x-axis, which is done by changing the sign of the whole function:

Next, to get to g(x), ther is a vertical compression of 2, which is done by dividing the whole function by 2:

So, to graph it, we can start from f(x):

Then reflect and compress like we have done.
We get the function og g(x):
