compound interest equation for annually compounded

A=final amount
P=principal
r=rate in decimal
t=time in years
given that
A=1550
P=1000
r=5.5%=0.055
find t

divide both sides by 1000

take ln of both sides

use ln rule 

divide both sides by ln(1.055)

using a calculator, we get that t=8.18544 yrs
so about 8.2yrs
Answer:
Mel fills his gas tank up with 6 gallons of premium unleaded gas for a cost of $26.58. How much would it cost to full an 18 gallon tank?
or
Jacob ran 10 miles in 80 minutes. At that rate how far would he run in 2.5 hours?