If pipe A and pipe B can fill a tank in 24 minutes and 32 minutes respectively, and both the pipes are opened together, then after how much time should pipe B be closed so that the tank is full in 18 minutes?
1
10 minutes
2
8 minutes
3
6 minutes
4
5 minutes