Hi Brooke,
Let's see what we have.
Let's let
C = amount invested in CD returning 4%
B = amount invested in savings bond earning 7%
We know from the first sentence
C + B = 5000
This can be written as
B = 5000-C
From the second and third sentences we have
.04C + .07B = 300
Since B = 5000-C, let's substitute this into the equation above as follows.
.04C + .07B = 300
.04C + .07(5000-C) = 300
Now distribute and solve for C
.04C + 350 - .07C = 300
-.03C = -50
C = $1,666.67 invested in CD.