from pipe a it takes 4 hours to fill the tank . from pipe b it takes 8 hours empty the tank . if the both pipes are opened how many hours to fill the tank ?