In what time will the cistern be emptied?

A tap can fill a cistern in 12 minutes while another tap B can empty it in 8 minutes. The tap A is kept open for 6 minutes in the beginning and then the second tap B is also opened. In what time will the cistern be emptied?