If the coordinates of center of mass are:
$$ x_{\text{CM}} = \frac{m_1x_1 + m_2 x_2 + \cdots}{m_1 + m_2 + \cdots} $$
I am confused with mass multiplying with distances that gives another distance. Why does that happen? I mean, how does this work? Please explain.
I just want to know how they derive this equation.It just seems too arbitrary to me.Whether they did any experiment and found this or it was just a miracle that they found an equation for the position of center of mass randomly.
You can see how it works in $1D$ most easily. Imagine you have a weight of $5$ at $2$ and a weight of $10$ at $3$. You would think the CM should be $2/3$ of the way over because the second weight is twice as large. In fact $$x_{\text{CM}} = \frac{2\cdot 5 + 3 \cdot 10}{5+10}=\frac {40}{15}=\frac 83$$ It is just the weighted average of all the masses.