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=56000\\1.15x+53500-1.07x\\0.08x=2500\\x=31250$
So $31250$ should be the amount she invests in B-rated bonds and then $18750$ is the amount invested in CDs.