Question 183343
On piecewise functions, the first thing you have to decide is "which 'piece'" is the one you need.

In this case, you are asked to find the value g(6). So you need to find the function that is defined as when x=6. Using the info provided, the function that is defined at x=6 is the one that applies to all points x>=5

That function is given as 7-x

So the g(6) = 7 - 6 = 1