To find g(5), we have to make x=5 and evaluate on the function. Notice that 5 is a number that lies between -3 and 6, thus, the definition of the function g(x) tells us that any number that is between -3 and 6 will give us as output 5. Therefore, g(5) = 5