This is LaTeX code:
[latex]
m_1\quad \ldots \quad x_1 = p, \; y = 2p-c \\ m_2\quad \ldots \quad x_2 = q \\ m_3\quad \ldots \quad x_3 = \frac{d}{2}-q-2p+c
[/latex]