This is LaTeX code:
[latex]
g_{1}([2, +\infty)) = [1, +\infty)\\ g_{2}([1, +\infty)) = [0, \frac{1}{2})\\ g_{3}([0, \frac{1}{2})) = (1,3]
[/latex]