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
[tex] [-2,2) [/tex]
Second interval is
2 to 5 by excluding 2 and 5
[tex] (2,5) [/tex]
now, we can find total interval
we get
[-2,2) ∪ (2,5)..............Answer