The population of a town increases by 2% of the population at the beginning of the year. The number of years by which the total increase in population would be 40% is:

a) 18 years
b) 20 years
c) 22 years
d) 25 years