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?
Elementary Grammar Exercises A1
English Worksheets
English Modals Tests
Upper-Intermediate Grammar Exercises