Yes, I understand where your teacher is coming from. In "Mastering Math Textbook" there is mention of tension force but in the question, it explicitly says the net force on an object like M2 in this question is "Fnet=T-MG". But in this question, it doesn't so that's probably why your teacher...