So x+y=3 and 2x+y=5. Matrix is [1 1 3] [2 1 5] now mR1(-2)+R2 (multiply row 1 by -2 {the inverse of 2} and add the results to row 2) You end up with: [1 1 3] [0 -1 -1] now mR2(1) + R1, you get: [1 0 2] [0 -1 -1] now mR2(-1) to get: [1 0 2] [0 1 1] Row 1: x=2 Row 2: y=1 Done.