This is LaTeX code:

[latex]
[-2,-\displaystyle\frac{2}{3}]\cup[0,\displaystyle\frac{\sqrt{7}-1}{3}]
[/latex]