If this is simple interest, then let a = fraction invested in Fund A and b = fraction invested in Fund B
then 21,100a(.05) + 21,100b(.03) = $829 and a + b = 1
1055a + 633b = 829
a + b = 1
Solving simultaneously, we find that a = .46 and b = .54
So, .46(21,100) = $9706 (Fund A) and .54(21,100) = $11,394 (Fund B)