The correct option is C 12 hrs
Let the pipe can fill the tank be x.
Pipe A alone can fill one tank = 1x+6
Pipe B alone can fill another tank = 1x
Together, both pipes can fill one tank = 1x+6+1x=14
2x+6x2+6x=14
8x+24=x2+6x
x2−2x−24
Using −b±√b2−4ac2a to find the roots of the equation
⇒x=2±√(−2)2−4×1×(−24)2×1
⇒x=2±√1002
⇒x=2±102
x=6, x=−4
x cannot be negative.
Pipe A alone to fill one tank = 6 + 6 = 12 hours.