Answer: C) 5
Step-by-step explanation
g(5) means we have x = 5 as the input.
x = 5 fits with the interval
which corresponds to the 2nd piece. The output for this second piece is 5 no matter what the input is (hence the lack of variable x here).
This means g(5) = 5. In other words, g(x) = 5 when x = 5.