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?
Advanced Grammar Exercises
English Worksheets
Upper-Intermediate Grammar Exercises
English Vocabulary Tests