In a question I recently encountered is as follows that give an example of two disjoint subsets $A$ and $B$ of $\Bbb R$ so that $A \cup B$ and $A$ are both open in $\Bbb R$ but $B$ is not open in $\Bbb R$.
I'm clueless so far. Thanks in advance for help.
You can use:
$A=(0,4)$ and $B=[4,5)$