Patrick B. answered 12/02/18
Math and computer tutor/teacher
X is amount in stocks
Y is the amount in bonds
Z is the amount in CDs
X+ Y + Z = 155000
Y = Z + 40000
0.064X + 0.045y + 0.0225Z = 6740
Substitutes Y=z+40000 into the first and third equations.
You get;
X + 2z = 115000
0.064X + 0.0675z = 4940
solving the first equation for x and clearing the decimals from the second
x = 115000 - 2z
640 x + 675z = 49400000
Substitution gives your z = 40000
Then x = 35000 which forces y=80000