Given the function:

You have to evaluate g(2), this means that you have to replace the equation of the function with x=2 and solve:
- First, replace x=2 into the equation

- Next, solve the exponent and then the difference to find the value of g(2)

The value of g(x) when x=2 is -1.