The center of mass is simply finding the the mass of the object = density * volume and finding the displacement of the mass to the x-axis and y-axis to find the center of mass, which is usually pair (x',y')

However, This link can explain better than I can

Pauls Online Notes : Calculus II - Center of Mass