Pipe A can fill a tank in 15 minutes and pipe B cam empty it in 24 minutes. If both the pipes are opened together after how many minutes should pipe B be closed, so that the tank is filled in 30 minutes?
Choices
A) 18  B) 27  C) 98  D) 27  E) 24

Rationale: "let the pipe b be closed after x minutes . 30 / 15 - x / 24 = 1 = > x / 24 = 30 / 15 - 1 = 1 = > x = 1 * 24 = 24 . answer : e"
Answer: E