The correct answer is (A):
The inlet pipe can normally fill the tank in 8 hours, but it takes 10 hours when the outlet pipe is also open. In the two additional hours, the inlet pipe fills 2/8 or 25% more, and the outlet pipe took 10 hours to drain the additional 25%. So, the outlet pipe can drain 25% in 10 hours, and to drain 50%, it’ll take 20 hours.
Alternately, we can assume total capacity of the tank as LCM [8, 10] or 40 litres. We’ll know the filling rates and the emptying rates of both the pipes and we can answer the question based on the same.