Answer :

voytek
x - first part of the investment (12% rate)
y - second part of the investment (6% rate)

Total investment: [tex]x + y = 6300[/tex]
Total yield: [tex]564 = x*0,12 + y*0,06[/tex]

Based on that we can calculate x and y:
[tex] \left \{ {y=6300-x} \atop {0,12x+0,06(6300-x)=564}} \right. [/tex]

[tex] \left \{ {y=6300-x} \atop {0,12x+378-0,06x=564}} \right. [/tex]

[tex] \left \{ {y=6300-x} \atop {0,06x=186}} \right. [/tex]

[tex] \left \{ {y=6300-x} \atop {x=3100}} \right. [/tex]

[tex] \left \{ {y=3200} \atop {x=3100}} \right. [/tex]

Answer: $3100 was invested at 12% and $3200 at 6%.

If you have any questions, please let me know!