If you have $5000 and you invest $2000 in a certificate of deposit, you have $3000 invested in the bonds. Each earns an annual interest of 6% and 8%, respectively. The total interest is shown below,
($2000) x 0.06 + ($3000) x 0.08 = $360
Thus, the amount of the total interest is $360.