Which of the following sentences is punctuated correctly?

You didn’t finish the homework, did you?
You didn’t finish the homework did you?
You didn’t finish the homework did, you?
You didn’t finish, the homework did you?
English Modals Tests
Table of English Grammar Contents (All Levels)
Pre-Intermediate Grammar Exercises
Upper-Intermediate Grammar Exercises