(B) \( g\left( x\right) = \sqrt{x} + 1 \)