There are two pipes leading to a tank. If pipe X alone is opened, the tank will be filled in 20 minutes. If pipe Y alone is opened, the tank will be filled in 25 minutes. Both pipes were opened together. After 5 minutes, pipe Y was closed. How long should pipe Y be left open to fill the rest of the tank?