zach invested $300 in the stock market. with the stock market's average yearly gain of 10 percent, his original $300 grew to $330 after one year. in two years' time, his $300 became $363. the year after that, his original investment had become $399. zach's investment grew as a result of