12-14

$${x_{rk} \sum m_i g_i= \sum x_i m_i g_i}$$