ok so x represents amout invested at 6 percent , (x+7000) represent s amounr invested at 8 percent so
.08(X+7000) +.06(x) =3290
.08x + 560 + .06x = 3290
.14x = 2730
x = 19500
which means at 6 percent 19500 was invested, and for 8 percent (19500 +7000)=26500