If you know how to properly solve the union and intersection of intervals, please help me.

I am going to write various equations, please give a moment as I do it
Lets notice that
[tex]F\subset\text{ H}[/tex]this because, if
[tex]w\text{ }\leq\text{ 2 }\Rightarrow\text{ w }<\text{ 5}[/tex]then,
[tex]\begin{gathered} F\cup H\text{ = H = (-}\infty,\text{ 5)} \\ F\cap\text{ H = F = (-}\infty,2\rbrack \end{gathered}[/tex]For the second question, now we consider that
[tex]\begin{gathered} B=\text{ (-}\infty,4) \\ C=\text{ \lbrack{}6,}\infty) \\ \text{then } \\ B\cap C=\text{ }\varnothing \\ B\cup C\text{ = (-}\infty,\text{ 4) }\cup\text{ \lbrack{}6,}\infty) \end{gathered}[/tex]