somone put 1500 dollars in two accounts and earned about 5% and the other 2% profit.
They earned a total of 60 dollars.
How much was put into each account from the start?


Another way of looking at it:
let "x" be the amount of money put into the 5% account and let "y" be the amount of money put into the 2% account.
The amount earned by the first account is .05x and the amount earned by the second account is .02y.
So x+ y= 1500.
So .05x+ .02y= 60.and earned about 5% and the other 2% profit.
They earned a total of 60 dollars.
You want to solve the equations x+ y= 1500, .05x+ .02y= 60. One way of doing that is to solve the first equation for y: y= 1500- x. Then substitute that expression for y in the second equation: x+ (1500- x)= 60. That's exactly the equation skeeter gives.How much was put into each account from the start?