A spring is compressed between two blocks of masses m1 and m2 placed on a horizontal frictionless surface as shown in the figure. When the blocks are released, they have initial velocity of v1 and v2 as shown. The blocks travel distances x1 and x2 respectively before coming to rest.
The ratio (x1x2) is