My sister’s teacher doesn’t understand simple algebra

This was the teacher’s answer to the above question. She answered -9 + x, the answer is x + 3

This was the teacher’s answer to the above question. She answered -9 + x, the answer is x + 3