hello
the initial principal in each account is unknown. we have a combined principal here and also a combined interest.
interest A + interest B = total interest
the rate in account A = 9%
the rate in account B = 7%
let x represent the amount of money invested in A
the amount in the first account with an interest of 9% is $2300
now we can use this information to find the amount in the second account by simply subtracting $2300 from the sum total principal
the amount invested in both accounts which is $4300
the amount invested in both accounts are $2300 and $2000 respectively