Answer:
24 hours.
Explanation:
This is one of those problems where the easiest way to do is just to reason it out without trying to devise a formula.
Call the water in the basement = w
Therefore w/2 = 4*x where x is the rate of the pump. The statement means that 1/2 the water in the basement is pumped out by x in 4 hours.
Now x and y work together. They (together ) pump out the rest of the water which is also w/2
w/2 = 3x + 3y Now you can equate the two values for w/2
4x = 3x + 3y Subtract 3x from both sides.
4x-3x = 3x-3x + 3y
x = 3y
Now you have to be very careful in interpreting what you found. It takes pump y three times as long to do anything as it does x.
So here's the reasoning part.
x by itself will empty the basement in 8 hours. It takes x four hours to get 1/2 the water out.
It will take pump y 3 times as long to pump out that basement. 3*8 = 24 hours