Assume a simple interest model.
Step 1. Turn words into algebra.
Let A1 = Original amount invested in account 1
Let A2 = Original amount invested in account 2
Let y1 = Amount of interest earned in account 1 at the end of the first year
Let y2 = Amount of interest earned in account 2 at the end of the first year
"A total of $15,000 is invested in two accounts" ~~> 15,000 = A1 + A2 (Equation 1)
"One of the accounts earns 12% per year [and we're only concerned about the first year]" ~~> 0.12A1
"One of the accounts earns 10% per year [and we're only concerned about the first year]" ~~> 0.10A2
"The total interest earned in the first year is $1,600" ~~> 1,600 = 0.12A1 + 0.10A2
Step 2. Recognize that the main equation to be solved 1,600 = 0.12A1 + 0.10A2 can be reduced to an equation with only one variable by using equation 1.
1,600 = 0.12A1 + 0.10(15,000 - A1)
Hope that helps.