The interest earned is the difference between the initial amount that was deposited in the bank and the amount that is in the account after six years.
Amount in the account: $13609.89
The interest earned is therefore: 13609.89 - 12000 = $1609.89
To earn $20000 in six years he should invest $17634.24.