Question 998521
Call what she invests at 8%, x.  Then what she invests at 5% will be 5000-x.
The setup looks like this:
.08x + .05(5000-x) = .07(5000)
If you want multiply by 100 to clear decimals
8x + 5(5000-x) = 7(5000)
8x + 25000 - 5x = 35000
3x = 10000
x = $3333.33 at 8% with the remainder, $1666.67 at 5%.