I have these following sets (the overbar means closure)

This doesn't work with open intervals such as $(a,b)$ or $(c,d)$ because at least two of these sets are equal. But I can't think of open subsets that satisfy this condition.
Let $A=(0, 2)\cup(3,4)$ and $B=(1, 3)$. Then
$$A\cap \overline{B}=[1, 2)$$ $$\overline{A}\cap B=(1, 2]$$ $$\overline{A}\cap \overline{B}=[1, 2]\cup\{3\}$$ $$\overline{A\cap B}=[1, 2]$$