5) We want to find the union and the intersection of the given intervals.
A1(0,3] ; A2 [2,6)
From the diagram we can see that the intersection is
[2,3]
The union is from the lower boundary of the first interval to the upper boundary of the second interval.
The union is (0,6)
6) The second interval is
A1= (-∞, 6) A2 =(6,∞)
From the diagram, this interval has no intersection.
The intersection is a null set
The union of this set is
(-∞,∞)