Money market amount = x
CD amount = y
x + y = 28,000
2y - 2,000 = x
Solve the first equation for y.
x + y = 28,000
y = 28,000 - x
Sub that in for y in the second equation to solve for x.
2y - 2,000 = x
2(28,000 - x) - 2,000 = x
56,000 - 2x - 2,000 = x
54,000 - 2x = x
54,000 = 3x
18,000 = x so $18,000 went to the money market account
Sub in the x value into the other equation to get y.
x + y = 28,000
18,000 + y = 28,000
y = 10,000