.
interest + interest = total interest
0.06*(2x) + 0.08*x = 5840.
Solve for x, where x = the amount invested at 8%.
Then evaluate 2x, which is the amount invested at 6%.
--------------------
To see more solved problems on investment, look into the lesson
- Using systems of equations to solve problems on investment
in this site.
Also, you have this free of charge online textbook in ALGEBRA-I in this site
- ALGEBRA-I - YOUR ONLINE TEXTBOOK.
The referred lessons are the part of this online textbook under the topic "Systems of two linear equations in two unknowns".
Save the link to this online textbook together with its description
Free of charge online textbook in ALGEBRA-I
https://www.algebra.com/algebra/homework/quadratic/lessons/ALGEBRA-I-YOUR-ONLINE-TEXTBOOK.lesson
to your archive and use it when it is needed.