Which of the following sentences needs a comma to be correctly punctuated?


My mother writes and edits for a major publication.

My mother and my father edit a gardening magazine.

My mother writes for a magazine and my father edits novels.

My mother writes for a magazine that my father edits.