Two pendulums of different lengths are in phase at the mean position at a certain instant. The minimum time after which they will be again in phase is 5T/4, where T is the time period of shorter pendulum. Find the ratios of lengths of the two Pendulums.