Correct Answer: 21 min
Explanation:
Let the pipe B be closed after 'K' minutes.
30/16 - K/24 = 1 => K/24 = 30/16 - 1 = 14/16
=> K = 14/16 x 24 = 21 min.