Answer:
The correct graph of the given function is option C. Y.
Explanation:
The correct graph is option B (X) because it satisfies all the conditions specified in the function definition.
The first segment of the graph starts at x=-2 and goes to the left, passing through the point (-4,-4) and representing the equation 2x+4. The second segment of the graph starts at x=-2 and goes to the right, passing through the point (2,3) and representing the equation 4+1/2x. The third segment of the graph starts at x=2 and goes to the right, passing through the point (5,0) and representing the equation -x+5.
Option A (W) has a line that passes through the point (2,6), which is not on the graph of the function, and option C (Y) has a line that passes through the point (2,5), which is also not on the graph of the function. Option D (Z) has an open circle at (-2,3), which should be a closed circle according to the function definition, and a closed circle at (2,5), which should be an open circle according to the function definition.