Teacher is wrong. (maths degree).
I'd be tempted to write a short note assuming they do know it really but must have had a brain explosion.
Teacher needs to think about totalling the numbers 9, 2, and -3. the total is the same (8) whether you say
9+2-3 to get the total or -3+9+2 or 2-3+9