I need to prove $((0,1)\cap\mathbb{Q})\cup((2,3)\cap\mathbb{Q}) $ is isomorphic to $(0,10)\cap\mathbb{Q}$. I have tried by looking for a bijective relation between sets and Yi think my best try has been a piecewise function:
\begin{equation} f(x)= \begin{cases} x, & 0\lt x\lt 1 \\ 9x-17, & 2\lt x\lt 3 \end{cases} \end{equation} The problem is $1$ belongs to $(0,10)$ but it is not on the image of $f$ so it doesn't work as a bijection. I'd really appreciate some help on this problem. Thanks Edit: I need an order-preserving bijection.