Laney invested a total of in two accounts. One account pays interest annually; the other pays interest annually. At the end of the year, Laney earned a total of in interest. How much money did Laney invest in each account?
Write and solve a system of equations to answer the following questions.

Laney invested in the account.
Laney invested in the account.