Step 1: Understanding the center of mass.
The center of mass of a system is determined by the weighted average of the positions of the masses.
Step 2: Calculation for two spheres.
In this case, the COM of the two spheres lies at the point of contact because their centers are aligned, and their masses are in the ratio 1:2.