Emma has money in two savings accounts. one rate is 10% and the other is 15% . if she has $350 more in the 15% account and the total interest is $164 , how much is invested in each savings account?