When an object of mass m1 is hung on a vertical spring and set into vertical simple harmonic motion, its frequency is 12Hz. When another object of mass m2 is hung on the spring along with m1, the frequency of the motion is 4Hz. Find the ratio m2/m1 of the masses.