When an object of mass m1 is hung on a vertical spring and set into vertical simple harmonic motion, it oscillates at a frequency of 14.2 Hz. When another object of mass m2 is hung on the spring along with the first object, the frequency of the motion is 3.40 Hz. Find the ratio m2/m1 of the masses.