Let amount invested at 8% be E
Then amount invested at 6% = 21,000 - E
We then get: .08E + .06(21,000 - E) = 1,620
.08E + 1,260 - .06E = 1,620
.08E - .06E = 1,620 - 1,260
.02E = 360
Amount invested in the 8%-fund, or
You should now be able to find the amount invested in the 6% fund.