Final answer:
The population of town B is 5 times greater than the population of town A.
Step-by-step explanation:
To find out how many times greater the population of town B is compared to town A, we can divide the population of town B by the population of town A:
Population of town B / Population of town A = (2 x 10^5) / (4 x 10^4)
Simplifying this expression, we get:
(2 x 10^5) / (4 x 10^4) = 5
The population of town B is 5 times greater than the population of town A. Therefore, the correct answer is D) 5.