The underlying formula that you want to use here for continuous compounding is
A = P*e^(rt), which when solved for the interest rate (r) becomes
A/P = e^(rt)
ln(A/P) = rt
r = ln(A/P) / t
for this scenario then that formula becomes
r = ln(100000/80000) / 10
r = ln(1.25) / 10
r = 0.022314 = 2.23%
meaning that to grow your $80,000 investment to $100,000 in 10 years with continuous compounding, you would need an annual interest rate of approximately 2.23%