Question looks very familiar... TYS question is it?
Let the time taken by small pipe alone = Ts
Let the time taken by bigger pipe alone = Tb
Let Volume of pool = V
So
Rate of flow of small pipe = V/Ts
Rate of flow of bigger pipe = V/Tb
Get the equations out
Ts - Tb = 5
Ts = Tb + 5 ------------- (1)
V / ( V/Ts + V/Tb) = 6
TsTb / (Ts + Tb) = 6
Ts Tb = 6Ts + 6 Tb
Sub (1) in
Tb² + 5Tb = 6Tb + 30 + 6 Tb
Tb² - 7Tb - 30 = 0
Solving, Tb = 10 hours or -3 (reject)
Hence, Ts = 15 hours
More similar questions here
http://examworld.blogspot.com/search/label/O%20lvl%20EM%3A%20Ratio%20Rate%20Proportion