You can
put this solution on YOUR website!let x and y be the amount invested in each rate
:
x+y=12000.......eq 1
.12x-.05y=620...eq 2
:
rewrite eq 1 to x=12000-y and plug that value into eq 2
:
.12(12000-y)-.05y=620
:
1440-.12y-.05y=620
:
-.17y=-820
:

amount invested in the 5% loss
:

amount invested in 12% investment