Your "graphing calculator" graphs functions. It will not automatically find inverse functions for you- you have to do that yourself. You are given \(\displaystyle g(x)= 2(x+ 3)^2- 8\) for x between -3 and 0. You don't really need to know about "completing the square" because, here, the square is already "completed" for you. Write \(\displaystyle y= 2(x+ 3)^2- 8\) and "swap" x and y: \(\displaystyle x= 2(y+ 3)^2- 8\). That really is the "inverse" part- reversing x and y. But now you want to solve for y so you can write it in "function" form
To solve \(\displaystyle x= 2(y+ 3)^2- 8\) you have to "undo" what has been done to y. That is, if you were given a value for y, you would have to (1) add 3, (2) square, (3) multiply by 2, (4) subtract 8.
To solve we must do the opposite: the opposite of each step in the oppsite order. So
1) Add 8 to both sides: \(\displaystyle x+ 8= 2(y+ 3)^2\)
2) Divide both sides by 2: \(\displaystyle (1/2)(x+ 8)= (y+ 3)^2\)
3) Take the square root of both sides. This is where we need the "x between -3 and 0". A square has two possible inverses:
\(\displaystyle \sqrt{(1/2)(x+ 8)}= \pm\sqrt{(y+ 3)^2}= \pm (y+ 3)\)
Because the "x" in the original function has to be between -3 and 0, and we have "swapped" x and y, y must be between -3 and 0 here. A square root is always positive so since y> -3, y+ 3> 0. We must use the "+":
\(\displaystyle \sqrt{(1/2)(x+ 8)}= y+ 3\)
4) Substract 3 from both sides:
\(\displaystyle \sqrt{(1/2)(x+ 8)}- 3= y\)
So \(\displaystyle g^{-1}(x)= \sqrt{(1/2)(x+ 8)}- 3\)
Graph that.