Corey G. answered • 07/07/20

Computer Engineering instructor who tutors basic math and coding.

- x ... let this be the amount put into the first account
- y ... let this be the amount put int the second account
- x + y = 27000 ... this is the first linear equation
- x(0.09) ... this is the amount gained by the first account
- -y(0.02) ... this is the amount lost by the second account
- x(0.09) -y(0.02) = 1055 ... this is the second linear equation
- equations 3 and 6 are your system of equations (two equations and two unknowns)
- x = 27000 - y ... solving eq. 3 for x
- (27000 - y)(0.09) - y(0.02) = 1055 ... subbing eq. 8 in to eq. 6
- y = 12500 ... solving eq. 9 for y (a few simple steps left out here,of course)
- x = 27000 - 12500 ... subbing eq. 10 into eq. 8
- x = 14500 ... solving for x.
- So there was $14,500 and $12,500 originally invested into the first and second accounts, respectively
- This can be verified by adding the 9% gain by the first account ((0.09)(14500)) to the 2% loss by the second account (-(0.02)(12500)) to get (0.09)(14500) + (- (0.02)(12500) = 1055.