Answer:
Option 2 is correct

Explanation:
We can se ethat the given function is an exponential function.
The function is:
5^x
In order to compress the function the original function is multiplied a constant.
As the function is compressed by a factor of 1/2
The function will become:
g(x) = 1/2 * 5^x
Now the function is shifted to left which is a horizontal shift. For horizontal shift of n units, n is added to the power so the function will become:

Then the function is shifted upwards two units, the vertical shhift is added to the whole function so the function will become:

Hence, Option 2 is correct ..