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 Vocabulary Tests
Elementary Grammar Exercises A1
Pre-Intermediate Grammar Exercises
Advanced Grammar Exercises