Two spheres A and B of masses m and 2m and radii 2R and R respectively are placed in contact as shown. The COM of the system lies