Assume: amounts are invested for 1 year at simple interest
Let x = amount invested at 3%
y = amount invested at 4%
z = amount invested at 5%
x + y + z = 10000
z = 2x
0.03x + 0.04y + 0.05z = 421
Replace z by 2x to get:
3x + y = 10000
0.13x + 0.04y = 421
Multiply the first equation by -0.04:
-0.12x - 0.04y = -400
0.13x + 0.04y = 421
Add the equations to obtain: 0.01x = 21
x = $2100
z = 2x = $4200
y = 10000 - x - y = $3700