Given:
Principal amount = $6000.
Let x be the amount invested at 5%.
So, 6000-x be the amount invested at 10%.
The annual interest is $590
The equation is written as,

Answer: At 5%, the amount invested is $200, and at 10%, the amount invested is $5800.