x + y = 50000 => 0.12x+0.12y=6000
0.12x + 0.09y = 5700
deduct equation on both sides, it gets: 0.03y = 300, so y=10000
x = 50000-10000=40000
40000 invested in 12%
10000 invested in 9%
0.12x + 0.09y = 5700
deduct equation on both sides, it gets: 0.03y = 300, so y=10000
x = 50000-10000=40000
40000 invested in 12%
10000 invested in 9%