Alright, take it step by step...in month one, they had 5 members.
if the number doubles each month, then the second month they will have a total of ten members, right? in the third they will have twice the number before, or 2 times 10, 20. if you double 20, you have the number of people in the fourth month, giving you a grand total of 40.