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,
[tex]\begin{gathered} 4x+x=30000 \\ 5x=30000 \\ x=6000 \end{gathered}[/tex]So, the amount invested in stocks is $6000.
The amount invested in bonds is
[tex]6000\times4=24,000[/tex]So, the amount invested in bonds is $24,000.