John took 20,000 out of his retirement and reinvested it. He earned 4% for one investment and 5% on the other. How much did he invest in each if the total amount earned was 880? The first principal portion is x. Which means the second principal portion is 20,000 - x. We have: 0.04x + 0.05(20,000 - x) = 880 0.04x + 1,000 - 0.05x = 880 Group like terms: -0.01x + 1000 = 880 Using our equation solver, we get x = 12,000. Which means the other fund has 20,000 - 12,000 = 8,000.