It is given that the separation between the nuclei of the H and Cl atoms is
The following figure shows molecule of HCl with centre of mass at a distance
Let the mass of H atom be
Let us assume that, the centre of mass of the molecule is at origin. Then centre of mass is given as,
Substitute the values.
The negative sign shows that the centre of mass would lie at the left of the molecule.
Thus, the distance of centre of mass from H atom is,
Therefore, the centre of mass of HCl molecule lies