A water tank is two-fifths full. The pipe can fill a tank in 10 minutes and the pipe can empty it in 6 minutes If both the pipes are open, how long will it take to empty or fill the tank completely?
A. 6 minutes to empty
B. 6 minutes to fill
C.9 minutes to empty
D. 9 minutes to fill