In LaTeX, \overbrace{6x - 4x}^{2x} is rendered as 6 x − 4 x ⏞ 2 x {\displaystyle \overbrace{6x - 4x}^{2x}} inside math mode.
\overbrace{6x - 4x}^{2x}