a tank can be filled by two pipes a and b in 60 minutes and 40 minutes respectively . how many minutes will it take to fill the tank from empty state if b is used for the first half time and then a and b fill it together for the other half .