To evaluate the function g(x) at different values of x, we can substitute the given values into the function and simplify the expression
1. When x = 1:
Since x = 1 does not fall into any of the given conditions (x <= -1 or x = 2), we cannot directly evaluate g(x) for this value.
However, based on the two given conditions for g(x), we can determine the values of g(x) for the given cases:
1. When x <= -1:
g(x) = -x + 4
Substituting x = -1 into the equation:
g(-1) = -(-1) + 4
= 1 + 4
= 5
2. When x = 2:
g(x) = 3
Substituting x = 2 into the equation:
g(2) = 3
Therefore, we have:
g(-1) = 5
g(2) = 3
For x = 1, since it doesn't meet any of the given conditions, we cannot evaluate g(x) for this value.