The given function is:

To graph the function we can make a table of values, by replacing different x-values into the function and finding g(x) as follows:

We can apply the same procedure and we're going to obtain the following table of values:
These are the coordinates of the points we have to sketch in the graph, and this looks like this: