Answer
See below.
Work Step by Step
Let $x$ be the amount she invests in B-rated bonds and then $50000-x$ is the amount invested in CDs, then our equation is: $1.15x+(50000-x)1.07=57000\\1.15x+53500-1.07x=57000\\0.08x=3500\\x=43750$
So $43750$ should be the amount she invests in B-rated bonds and then $6250$ is the amount invested in CDs