Collin invests 7700 in two different accounts the first paid 2% the second paid 9% in interest at the end of the first year he had earned $315 in interest how much was in each account