writing union and intersection of intervals as a single interval

We have that
[tex](-\infty,-2)\subset(-\infty,1)[/tex]For this in a) we have that
[tex](-\infty,-2)\cap(-\infty,1)=(-\infty,-2)[/tex]So the answer in a) is
[tex]\begin{equation*} (-\infty,-2) \end{equation*}[/tex]Now for b) we have that
[tex][1,3)\subset(0,5)[/tex]and
[tex][1,3)\cup(0,5)=(0,5)[/tex]So the answer in b) is:
[tex]\begin{equation*} (0,5) \end{equation*}[/tex]