Find the number of years needed to realize a total interest of $5000 if the principal saved is 10000 at a simple interest rate of 10%

10000*0.10*n = 5000

or,

each year's interest is $1000, so ...