Two pipes $A$ and $B$ can separately fill a tank in 6 hours and 8 hours, respectively. Both the pipes are opened together, but $1 \frac{1}{2}$ hours after the start, the pipe $A$ is tumed off. How much time will it take to fill the tank?
(a) 5 hours
(b) 6 hours
(c) $4 \frac{1}{2}$ hours
(d) $5 \frac{1}{2}$ hours