Show that the intervals $(a,\infty)$ and $(-\infty,b)$ are open in $\mathbb{R}$.
I'm having trouble choosing a radius for every $x \in (a,\infty),\ y\in (-\infty,b)$ such that $B_1(x,r_1)\subset (a,\infty)$ and $B_2(y,r_2) \subset (-\infty,b)$ where both $B_1$ and $B_2$ are open balls.
For every $x\in (a,\infty)$, for any $y >0$ we have $x+y \in (a,\infty)$. Now, $a<x$, so, exists a $\delta >0$ such that $a<x+\delta\Rightarrow x+\delta \in (a,\infty)$. So, use that $\delta$, and you have the ball centered at $x$ with radius $\delta$ contained in $(a,\infty)$