After 9 hours, the population of the bacteria will be twice the initial population, it means:
[tex]2\cdot10000=20000[/tex]After other 9 hours, the population will be two times 20000, it means:
[tex]2\cdot10000=40000[/tex]According to this, after 18 hours the population of the bacteria will be 40000.