Final answer:
Adnan should invest $25,000 in the stock fund and $15,000 in bonds.
Step-by-step explanation:
To determine how much money Adnan should put into each fund, we can set up the following equation:
0.08x + 0.03(40000 - x) = 0.071(40000)
Where x represents the amount of money Adnan put into the stock fund. Solving this equation, we find that x = 25000. Therefore, Adnan should invest $25,000 in the stock fund and $15,000 in bonds.