Two taps named tap A and B are used to fill a tank. Tap A on its own takes 5 hours longer than tap B to fill the tank. The two taps working together fill the tank in 6 hours. How long does it take tap A to fill the tank on its own? How long does it take tap B to fill the tank on its own?

Let the time it takes B to fill the tank be Xhrs

so time it takes A is X+5

timeforbothtofill= 1/(1/X + 1/(X+5))

timefor both to fill=X(X+5)/(X+5+X)

so 6=x(x+5)/(2x+5)
solve for x, the time B takes to fill