You have invested 34,000 in bonds and stocks. Bonds account paid you interest according the interest rate of 12%, stocks account does it with interest rate of 5%. What are the portions invested in each account if the total interest received in one year from both accounts was 2,950?