$6000 is divided between two accounts, one paying 4% interest and the other paying 3% interest. at the end of one interest period, the interest earned by the 4% account exceeds the interest earned by the 3% account by $65. how much was invested in each account