Напишу порядок общего вопроса : Вспомогательный глагол=> подлежащее=> сказуемое...
John collected stamps. John didn't collect stamps. Did he collect stamps?
Did you live in London? We lived in London. We didn't live in London.
I was hungry. Were you hungry? I wasn't hungry.
They had a hamster. They didn't have a hamster. Did they have a hamster?
He went to school. He didn't go to school . Did he go to school?