You can
put this solution on YOUR website!let the amount invested at 7% and 9% be x and y respectively
:
x+y=12000............eq 1
.07x+.09y=970.......eq 2
:
rewrite eq 1 to x=12000-y and plug it into eq 2
:
.07(12000-y)+.09y=970
:
840-.07y+.09y=970
:
.02y=130
:
$

invested at 9%
:
$

amount invested at 7%