Pipe A can fill 3 tanks in 8 minutes. Pipe B can fill 5 tanks in 10 minutes. How long will it take for them to fill a single tank if they work together?