How does the sentence end?

Matthew made a complex graph but not Ian because
Matthew taught a class at an advanced level.