It was really just testing it out, checking to see if an equation worked for one row, then try in the next. Its hard to explain, but its really just guess and check ;D
The commutative property of 9+8=17 is 8+9=17 because the commutative property states that it doesn't matter the order of the number but as long as u get the same answer.