I need to prove that $[-4,0)\sim(0,12)$ using the Cantor-Bernstein theorem and also by constructing a bijection.
From what I understood, in order to prove it with the Cantor theorem, I need to construct an injection between the two. From looking at one example I found, I saw that they did it by using a function.
Example was, from $(0,1)$ to $(0,1]$, $f(x) = x$, $x \in (0,1)$, because $(0,1) \subset (0,1]$
I tried to apply the same logic to my question, but got stuck..
I'm very new to this topic and I don't have a clue about where to start.