Three masses are placed on the x-axis: 300g at origin, 500g at x=40cm and 400g at x=70cm. The distance of the centre of mass from the origin is-