Step-by-step explanation
To translate the function up and down, you simply add or subtract numbers from the whole function. If you add a positive number (or subtract a negative number), you translate the function up. If you subtract a positive number (or add a negative number), you translate the function down.
For the given question, we have the parent function as
![f(x)=2^x](https://img.qammunity.org/2023/formulas/mathematics/high-school/4zfs7cmm18gayjob0j01e7yfqa7wstig.png)
Since g(x) is obtained by shifting f(x) downwards by 2 units then
![\begin{gathered} g(x)=f(x)-2 \\ g(x)=2^x-2 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/x918dgukiw93rt5g9izw0qur5ayovj0je1.png)
The graphs are shown below
Therefore, the value of g(x) is
![g(x)=2^x-2](https://img.qammunity.org/2023/formulas/mathematics/college/ljk7p4ckrensw519z7iopr0ue17ll9kly4.png)