Here are two ways of investing $30,000 for 20 years:

Periodic Deposit
$1,500 at the end of each year

Rate
5% compounded annually

Time
20 years