One pipe can fill a tank in 12 hours and another can fill the tank in 8 hours. How long would it take to fill the tank using both of the pipes