Answer: 75 people
Explanation:
1). 
we have percentage of people who invested in 18-29 year category 
=31% 
we need 
n=40 people 
this is 
30% of x =40
or 
0.3x=40
x=40/0.3 =133.33 or 134 people 
 
2). 
in 65+ category 
percentage =54%
we need
n=40
this is 
54% of x =40
or
0.54x=40
or
x=40/0.54 =70.07 or 75 people