The function in Option D has a domain of
[-8, -2]∪(4, 9] and a range of [-2, 7].
The x-values start from -8 to 9. Then, considering
the open and closed circles: the graph includes x=-8, -2 and 9 (closed
circles), but excludes x = 4 (open circle). And there is a break between -2 and
4. So, the domain is: [-8, -2]∪(4, 9].
The lowest point is at y = -2 and the highest is at y = 7, which perfectly matches the range [-2, 7].
Option A
The graph starts from -2 to 7. This does not satisfy the required domain of [-8,
-2]∪(4, 9]. The y-values in this graph vary from y = -8 to y = 9. This
does not satisfy the required range of [-2, 7].