.
Everything was explained to you at these links:
https://www.algebra.com/algebra/homework/Finance/Finance.faq.question.1090242.html
https://www.algebra.com/algebra/homework/Finance/Finance.faq.question.1090242.html
The last two lines of the solution are
272x = 408000,
x = = 1500.
Answer. $1500 at 8.4% and $6000 at 4.7%.