Jane jogs the same path every day in the winter to stay in shape for track season. She runs at a constant rate, and she spends a total of 39 minutes jogging. If the ratio of the times of the four legs of the jog is 3: 5: 1: 4 , how long does the second leg of the jog take her?