Let the amount invested in stocks be x.
The amount invested in bonds is four times that invested in stockes.
Therefore, the amount invested in bonds is 4x.
Accordingly,
![\begin{gathered} 4x+x=30000 \\ 5x=30000 \\ x=6000 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/x2qd5uth4q7y06ei3htitihi41c6fnnc66.png)
So, the amount invested in stocks is $6000.
The amount invested in bonds is
![6000*4=24,000](https://img.qammunity.org/2023/formulas/mathematics/college/f80rbv19e9mv8qzqrymd4x2a665vj0r2o3.png)
So, the amount invested in bonds is $24,000.