Answer: $10881.81 is invested at 6% and $1518.18 is invested at 5%.
Explanation:
Since we have given that
Amount invested = $12400
Rate of interest for first part = 6%
Rate of interest for second part = 5%
Let the amount invested for 6% be 'x'.
Let the amount invested for 5% be 'y'
According to question, we get that

So, it becomes,

x=12400-y=12400-1518.18=$10881.81
Hence, $10881.81 is invested at 6% and $1518.18 is invested at 5%.