Mass of the original complete disk: M1=σ⋅πa2
Mass of the square portion removed: M2=σ⋅l2=σ(2a)2=σ4a2
Positions of the centres of mass relative to the origin O:
x1=0
x2=d=2a
Centre of mass of the remaining portion: xcm=M1−M2M1x1−M2x2
xcm=σπa2−σ4a2(σπa2)(0)−(σ4a2)(2a)=πa2−4a2−8a3=π−41−8a
xcm=8π−2−a=−8(3.14)−2a=−25.12−2a=−23.12a≈−23a