I need help with the two I have gotten wrong.

It is given that:
[tex]a_1=5,a_2=15[/tex]The common ratio r is calculated by the formula:
[tex]r=\frac{a_n}{a_{n-1}}=\frac{a_2}{a_1}=\frac{15}{5}=3[/tex]Hence r=3.
The given formula is:
[tex]\begin{gathered} a_n=a_1r^{n-1} \\ a_{10}=a_1(r^{10-1})=a_1r^9 \end{gathered}[/tex]Substitute the calculated values to get:
[tex]a_{10}=5(3)^9=98415[/tex]Hence the tenth term is 98415