Which version of the sentence corrects the error in the compounds adjective?

Options:
Millie might not be able to attend the play tonight because she still has to find someone to watch her two year old- daughter for the night.
Millie might-not be able to attend the play tonight because she still has to find someone to watch her two year old daughter for the night.
Millie might not be able to attend the play tonight because she still has to find someone to watch her two-year old daughter for the night.
Millie might not be able to attend the play to-night because she still has to find someone to watch her two year old daughter for the night:

The correct version of the sentence that corrects the error in the compound adjective is:

Millie might not be able to attend the play tonight because she still has to find someone to watch her two-year-old daughter for the night.

The correct version of the sentence that corrects the error in the compound adjective is:

Millie might not be able to attend the play tonight because she still has to find someone to watch her two-year old daughter for the night.

The correct version of the sentence that corrects the error in the compound adjective is:

Millie might not be able to attend the play tonight because she still has to find someone to watch her two-year-old daughter for the night.

In this version, a hyphen is added between "two" and "year" to form the compound adjective "two-year-old." Hyphens are used to connect words that act as a single adjective before a noun. In this case, "two-year-old" describes the age of Millie's daughter.