a = amount invested at 9%
b = amount invested at 11%

we know she has a total of $40,000 to invest, so, if she invested "a" amount in one, the other quantity must be the slack left from 40,000 and "a", namely b = 40000 - a.
we also know that the yield or earned interest from both amounts is 4300, thus
