Answer:
The money invested in the account 1 was $25,000 and in the account 2 was 5,000.
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:
![A+B=30,000](https://img.qammunity.org/2020/formulas/mathematics/high-school/ntzcak29nol0efh6t85txug0mjobp8q8pm.png)
Eq. 2:
![(9)/(100) *A+(6)/(100) *B=1,950](https://img.qammunity.org/2020/formulas/mathematics/high-school/357zx8x7rstxberiz9oja3i72lvwdtkgn2.png)
Replacing the equation 1 in 2, this is:
![(9)/(100) *(30,000-B)+(6)/(100) *B=1,950</p><p>Clearing the value of B:</p><p>[tex]2,700-0.09B+0.06B=1,950](https://img.qammunity.org/2020/formulas/mathematics/high-school/8qvfwk703xugkw8rq8zu4mu5o6t87sgy3n.png)
![2,700-1,950=0.09B-0.06B](https://img.qammunity.org/2020/formulas/mathematics/high-school/fxcg3kyj26ncar3ksidqq33rcqzn75ixyy.png)
![750=0.03B](https://img.qammunity.org/2020/formulas/mathematics/high-school/zf1j4p2zxgkyyri8cfrgvbfkxqebp2b2m0.png)
![B=(750)/(0.03)](https://img.qammunity.org/2020/formulas/mathematics/high-school/z2x856xgdlv8o04qddibnih9lq3v4u1qgq.png)
![B=25,000](https://img.qammunity.org/2020/formulas/mathematics/high-school/inpmk3tdlmf7lrcqczq3my428kh9yq3eug.png)
Now, we can find A:
![A=30,000-B\\A=30,000-25,000\\A=5,000](https://img.qammunity.org/2020/formulas/mathematics/high-school/b1dmze64hqymxicfkhu97c3lcc071ojxml.png)
The money invested in the account 1 was $5,000 and in the account 2 was 25,000.