Answer: Total time taken by them would be 60 minutes = 1 hour before the tank overflows.
Explanation:
Since we have given that
Time taken by an inlet pipe =10 minutes
Time taken by a drain = 12 minutes
So, if both are open together,
Total work done by them would be

So, total time taken by them would be 60 minutes = 1 hour before the tank overflows.