SOLUTION
Write out the given parameters

We are to find the amount invested at each rate.
Define the parameter of the amount
Let the amount invested at

Since the total interset received is $ 334
The total interest received will be the addition of the interest received at each rate
Hence

Then subtract 328 from both sides, we have

Then the amount invested at each rate is

Therefore,
The amount invested at 6% is 600
The amount invested at 8% is 1700
The amount invested at 9% is 1800