Two bar magnets of the same length and breadth but having magnetic moments M and 2M are joined with like poles together and suspended by a string. The time of oscillation of this assembly in a magnetic field of strength B is 3 sec. What will be the period of oscillation, if the polarity of one of the magnets is changed and the combination is again made to oscillate in the same field ?