Explanation:
Make a table, listing the x and y coordinates of each square's center of gravity and its mass. Multiply the coordinates by the mass, add the results for each x and y, then divide by the total mass.
[tex]\left\begin{array}{ccccc}x&y&m&xm&ym\\\frac{a}{2} &\frac{a}{2} &10&5a&5a\\\frac{3a}{2}&\frac{a}{2}&70&105a&35a\\\frac{a}{2}&\frac{3a}{2}&80&40a&120a\\\frac{3a}{2}&\frac{3a}{2}&50&75a&75a\\&\sum&210&225a&235a\\&&Avg&\frac{15a}{14}&\frac{47a}{42}\end{array}\right[/tex]
The x-coordinate of the center of gravity is 15/14 a.
The y-coordinate of the center of gravity is 47/42 a.