In general, the compound interest formula is
[tex]\begin{gathered} A=P(1+\frac{r}{n})^{nt} \\ P\rightarrow\text{ initial amount} \\ r\rightarrow\text{ interest rate} \\ n\rightarrow\text{ number of times the interest is applied per period of time \lparen t\rparen} \\ t\rightarrow\text{ years} \end{gathered}[/tex]In our case, since it is not specified how often the interest is compounded, we will assume that n=1; then,
[tex]A=7000(1+\frac{0.02}{1})^{1*t}=7000(1.02)^t[/tex]a) Set t=1
[tex]\begin{gathered} t=1 \\ \Rightarrow A(1)=7000(1.02)^t=7140 \\ \end{gathered}[/tex]b) Set t=2,
[tex]A(2)=7000(1.02)^2=7282.8[/tex]Notice that we are not given the number of times the interest is applied per year; therefore, we had to assume that it compounds 1 time annually.