12-15
$${x_{rk} \sum m_i = \sum x_i m_i}$$