Вставьте правильные символы:
\(\displaystyle (\)[?|m|g|t]\(\displaystyle +g)\)[?|+|-]\(\displaystyle t=m+g-t\)