As there is no external force, COM will not change its position. Considering initial point as origin.
Let x be displacement of 120 kg, then displacement of 200 kg is 8−x
⇒120(x)=200(8−x)
⇒1600−320x=0
⇒x=5m (position of 120 kg)
Displacement of 200 kg will be (8−5)=3 m