The above answer is wrong because he goofed in combining the fractions. He
used draining rate as positive and filling rate as negative. The correction of
his method down below the following solution. But here is my way of working
it with explanation:
Two pipes can fill a tank in 18 minutes & 27 minutes individually.
So the rate of the first pipe is 1 tank per 18 minutes,
or
, or 
and the rate of the second pipe is 1 tank per 27 minutes,
or
, or 
.
A third pipe can empty the full tank in 6 minutes.and the rate of the third pipe is the loss of 1 tank or -1 tank per 6 minutes,
or
, or 
.
All the three pipes are opened when the tank was 2/3 full.
In how many minute will the tank become empty?Let the answer be x minutes.
Then the combined negative rate of all three pipes is
tank per x minutes,
or
, or 
or 
.
The equation comes from:












Multiply through by LCD = 54x
3x + 2x - 9x = -36
-4x = -36
x = 9
Answer = 9 minutes.
Edwin