#### Answer

$g(x)$

#### Work Step by Step

The $u$ value is the one we use for chain ruling. Since $g(x)$ is the inner function, it is what would be chain ruled when taking the derivative, so when we back things up in integration, we use it as $u$ and its derivative as $du/dx$