Answer
$M_y=330$
$M_x=0$
The center of mass is:
$(22,0)$
Work Step by Step
$$M_y=m_1\cdot x_1+m_{2}\cdot x_2$$
$$M_y=6\cdot 10+9\cdot 30=330$$
$$M_x=m_1\cdot y_1+m_{2}\cdot y_2=6\cdot 0+9\cdot 0=0$$
$\overline{x}=\frac{M_y}{m_1+m_2}=\frac{330}{6+9}=\frac{330}{15}=22$
$\overline{y}=\frac{M_x}{m_1+m_2}=\frac{0}{6+9}=0$
so the center of mass is:
$$(22,0)$$