1. You won a computer.
You didn't win a computer.
Did you win a computer?
2. They bought a house.
They didn't buy a house.
Did they buy a house?
3. Nastya did the exam.
Nastya didn't do the exam.
Did Nastya do the exam?
4. Daniyar and Bota got married.
Daniyar and Bota didn't get married.
Did Daniyar and Bota get married?
Past Simple:
(+) S+V+ed(V²)
(-) S+didn't+V(V¹)
(?) Did+S+V(V¹)