Math questions help please!

Page 195, Problem 37
Total power generated by wind worldwide doubles every 3 years. In 2008, world wind-energy generating capacity was about 90 thousand megawatts. Find the continuous growth rate and give a formula for wind generating capacity W (in thousands of megawatts) as a function of t, number of years since 2008.

Page 195, Problem 39
A town has 5000 people in year t = 0. Calculate how long it takes for the population P to double once, twice, and three times, assuming that the town grows at a constant rate of
a) 500 people per year.
b) 5% per year.

i have no idea how to do either of these. any help appreciated. thanks

nvm its all good yall