Write out the information in the question
[tex]\begin{gathered} \text{Let the first amount you where give=a} \\ \end{gathered}[/tex][tex]\text{first year=\$1, second year=\$2}[/tex]The progression continued in the form
$1, $2, $4, $8...
hence this is a geometric progression
since r=2
The amount will be receive 15 years i.e 30-15
The amount of money that will be received until you are 30 is the sum of the progression
[tex]\begin{gathered} s_n=\frac{a(r^n-1)}{r-1} \\ \text{where r=2, a=1} \end{gathered}[/tex][tex]\begin{gathered} S_n=\frac{1(2^n-1)}{2-1} \\ =2^n-1 \\ \text{where n=number of years} \end{gathered}[/tex]Hence the exponential function is given by
[tex]2^n-1[/tex]