Question 751815
Look at each year symbolically step by step.

Let r = the growth rate in a year in fractional form, or decimal form.
1 year-------- {{{10*(1+r)}}}
2 year -------- {{{10*(1+r)^2}}}
3 year --------{{{10*(1+r)^3}}}
4 year ------- {{{10*(1+r)^4}}}
5 year -------{{{highlight(10*(1+r)^5=340)}}}


The function will be {{{p(x)=10(1+r)^x}}} where x is the number of years.  You would use the highlighted '340' equation to find the growth rate, r and then use this in p(x) accordingly.