Answer:
The money invested in the account 1 was $25,000 and in the account 2 was 5,000.
Step-by-step explanation:
In this case we can formulate a system of equations that could find the amount invested in each account, this is:
Money invested in the account 1 is A
Money invested in the account 2 is B
Eq. 1: 
Eq. 2: 
Replacing the equation 1 in 2, this is:
![\frac{9}{100} *(30,000-B)+\frac{6}{100} *B=1,950Clearing the value of B:[tex]2,700-0.09B+0.06B=1,950](https://tex.z-dn.net/?f=%5Cfrac%7B9%7D%7B100%7D%20%2A%2830%2C000-B%29%2B%5Cfrac%7B6%7D%7B100%7D%20%2AB%3D1%2C950%3C%2Fp%3E%3Cp%3EClearing%20the%20value%20of%20B%3A%3C%2Fp%3E%3Cp%3E%5Btex%5D2%2C700-0.09B%2B0.06B%3D1%2C950)




Now, we can find A:

The money invested in the account 1 was $5,000 and in the account 2 was 25,000.