Shifting left means adding a number to x.
So, x³ shifted 5 units to left will be (x + 5)³
Shifting 4 units upwards means adding 4 to the function value,
So, previous function shifted 4 units up will be (x + 5)³ + 4
Thus, g(x) = (x + 5)³ + 4
So, option b gives the correct answer