A can fill a tank in 20 hours while B can empty the same tank in 15 hours. Both pipes are employed on a half-filled tank and after 10 hours A is replaced by a pipe whose efficiency is double that of A. Find the total time required to fill the total tank (in hours).
1
20
2
25
3
30
4
32
5
35