Answer:
Pool will be filled in 280 hours
Step-by-step explanation:
Inlet pipe fills in 40 hours = 1 pool
Inlet pipe fills in 1 hours = 
Drain pipe empty in 42 hours = 1 pool
Drain pipe empty in 1 hour = 
If both pipes are opened together
then in pool fills in 1 hour =
- 
on simplifying the right side ,we get 
= 
= 
pool fills in 1 hour
1 pool will be filled in 840 hours
pool is filled
empty pool = 1 -
= 
therfore
pool will be filled in
X 840 =
= 280 hours