Here are the key steps to solve this problem:
* Pipe A fills the tank in 3 hours
* Pipe B fills the tank in 5 hours
* Pipe C drains the tank in 4 hours
* With all pipes open, the filling rate (A + B) must equal the draining rate C
* Set up an equation: 1/3 + 1/5 = 1/x (where x is time to fill the tank)
* Solve the equation: x = 15/4 = 3.75 hours
Therefore, the time taken to fill the empty tank with all three pipes open is 3.75 hours.