Answer
$a_n=5(2)^{n-1}$
Work Step by Step
The $n^{th}$ term of a geometric sequence is given by the formula:
$ a_n=a_1r^{n-1}$
where $r$=common ratio and $a_1$= the first term
The common ratio of a geometric sequence is equal to the quotient (ratio) of any term and the term before it:
$ \ r = \dfrac{a_n}{a_{n-1}}$ or, $r=\dfrac{a_2}{a_1}$
Here, we have: $a_1= 5$ and $a_2=10$, so $r=\dfrac{10}{5}=2$
Thus, the general formula for the given sequence is:
$a_n=5(2)^{n-1}$