Suppose that $C$ and $D$ form a separation of $B$. Prove that $\overline{C}$ and $D$ are disjoint.
(A separation of $B$ is a pair of disjoint nonempty open subsets of $B$ whose union is $B$.)
My attempt:
Suppose $\overline{C}\cap D\ne\varnothing$.
Let $x\in\overline{C}\cap D$.
$\implies x\in\overline{C}$ and $x\in D$
$\implies x\in\overline{C}$ and $x\notin C$
How do I get a contradiction?
I assume you mean that a separation of $B$ is a pair of two nonempty disjoint subsets both open in $B$ whose union is $B$.
If $U$, $V$ form a separation of $B$, then notice that they are also both closed in $B$, since they are the complements of each other.
Now $\overline{U}\cap V = U \cap V = \emptyset$.
If you don't assume that $U, V$ are both open/closed in $B$, then the statement is false:
Take $B = [0,1]$, $U = \left[0, \frac12\right]$ and $V = \left\langle \frac12, 1\right]$. Clearly $U \cap \overline{V} = \left\{\frac12\right\} \ne \emptyset$.