First, let's determine the rate at which each pipe fills the tank. The rate is the fraction of the tank filled per hour.
The filling process occurs in three distinct stages.
Pipe A works alone for the first hour.
Next, pipes A and B work together for 2 hours.
Finally, all three pipes work together until the tank is full.
Now, calculate the time needed for Stage 3 and the total time.
Convert the total time into hours and minutes:
Pipe P can fill $\frac{2}{3}$ part of a tank in 16 hours, and pipe Q can fill $\frac{5}{6}$ part of the same tank in 20 hours. Both P and Q were kept open for 2 hours, then both were closed. Pipe R alone was then opened and it emptied the water in the tank in 8 hours. Pipes P, Q and R together can fill the empty tank in:
Pipe P can fill $\frac{2}{3}$ part of a tank in 24 hours, and pipe Q can fill $\frac{2}{3}$ part of the same tank in 16 hours. Both P and Q were kept open for 4 hours, then both were closed. Pipe R alone was then opened and it emptied the water in the tank in 5 hours. Pipes P, Q and R together can fill the empty tank in:
Pipe P can fill $\frac{3}{8}$ part of a tank in 21 hours and pipe Q can fill $\frac{2}{7}$ part of the same tank in 16 hours. Both P and Q were kept open for 2 hours, then both were closed. Pipe R alone was then opened and it emptied the water in the tank in 3 hours. Pipes P, Q and R together can fill the empty tank in: