Pipe a can fill a tank in 40 minutes whereas pipe b can empty it in 20 minutes. if both the pipes are opened together what will be the time taken to fill the tank?

pipe a can fill a tank in 40 minutes whereas pipe b can empty it in 20 minutes. if both the pipes are opened together what will be the time taken to fill the tank?

30 minutes
25 minutes
40 minutes
Never gets filled

Answer: Never gets filled.