we are given
to write the sets of points from -2 to 5 but excluding 2 and 5 as a union of intervals
so, first interval is
-2 to 2 by excluding 2
[-2,2)
Second interval is
2 to 5 by excluding 2 and 5
so, we can write as
(2,5)
now, we can find total interval
we get
[-2,2) ∪ (2,5)..............Answer