a = amount invested at 6%
how much is 6% of "a"? (6/100) * "a", namely 0.06a.
b = amount invested at 4%
how much is 4% of "b"? (4/100) * "b", namely 0.04b.
we also know that the yielded amount in interest or the annual income he's got from both is $116, so if we simply add their interest, that'd be 0.06a + 0.04b = 116.
We also know that he invested 400 more in "b" than in "a", so whatever "a" might be, we know that b = a + 400.
