Answer:
She invested an amount of $3,000 in the first accont and $27,000 in the second account
Step-by-step explanation:
Here, we want to get the amount invested in each of the accounts
To get this,let us write the simple interest formula
Mathematically, we have this as:

Let the amount invested in the first account be $x, while that of the second account be $y
P represent the amounts invested
R is the rate of investment
T is the time (1 year)
The sum of these two is the $30000 she has to invest
Mathematically, we have this as:

Let us get the interests on each of the accounts
For the first account, we have the interest as:

For the second account, we have the interest as:

The sum of these two is the interest value, which is as follows:

So, we have two equations to solve simultaneously
The two equations are:

We can solve this by substitution
Let us substitute for y

Insert this into the second equation, we have this as:

Recall:

What this mean is that:
She invested an amount of $3,000 in the first accont and $27,000 in the second account