From the question, we have that:
1. Chang had $10,000 to invest.
2. Let x the part Chang invested in an account that paid 5% simple interest per year.
3. Let y the part Chang invested in an account that paid 8% simple interest per year.
4. After one year, he received $740 in interest.
Then we can translate the situation as follows:
![\begin{gathered} (5)/(100)x+(8)/(100)y=740 \\ \\ x+y=10000 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/o5xx5ks0bno8t7yjbigbm9zfgrzjv37j9e.png)
And we can solve this system using the substitution method to find x and y as follows:
6. We can multiply the first equation by 100 as follows:
![\begin{gathered} 100((5)/(100)x+(8)/(100)y)=100*740 \\ \\ 5x+8y=74000 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/689112c1bvmxcpntqmfgdz6jka4qi1knbw.png)
7. Substituting y in terms of x, we have:
![\begin{gathered} x+y=10000\Rightarrow y=10000-x \\ \\ 5x+8y=74000 \\ \\ 5x+8(10000-x)=74000 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/zryu48x3ka7lg92is95rbuxo4qdjzn37bo.png)
8. Using the distributive property, we have:
![\begin{gathered} 5x+80000-8x=74000 \\ 5x-8x=74000-80000 \\ -3x=-6000 \\ x=(-6000)/(-3) \\ x=2000 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/wbexspbyyzl0omiybl6tks53swb3nkeab2.png)
Therefore, x = $2000, and knowing that:
![\begin{gathered} x+y=10000 \\ 2000+y=10000 \\ y=10000-2000 \\ y=8000 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/709jdsv7e9aqrr0duxzifylf1gqrurtnjo.png)
If we apply one of the above expressions, we have:
![\begin{gathered} (5)/(100)x+(8)/(100)y=740 \\ \\ (5)/(100)2000+(8)/(100)8000=740 \\ \\ 740=740 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/f33ttzwf321cfzq6ngyp9w50hrhu0rh2kj.png)
Therefore, in summary, Chang invested $2000 at 5% of simple interest, and $8000 at 8%. He invested
First account (5%) = $2000.
Second account (8%) = $8000.