A spring is compressed between two toy-carts of masses m1 and m2. When the toy-carts are released, the spring exerts on each equal and opposite average forces for the same time t. If the coefficient of friction μ between the ground and the carts are equal, then the displacements of the two toy-carts are in the ratio-