This article (bolded sections) may help (Dec. 1974 Ensign-Robert Matthews):
Heirs of David, Highly Favored, Guardians of Our Lord
The story of Mary and Joseph is beautifully told in the New Testament, but to appreciate it we must know something of their lives and recognize some special circumstances.
It is fundamental to know that Mary is the earthly mother of Jesus, and that Joseph is Mary’s husband. Consider the implications of Mary and Joseph as the earthly parents and guardians of Jesus. Jesus Christ is the firstborn of the Father in the spirit, his Only Begotten in the flesh, and the central theme of the scriptures. Prophets, beginning with Adam, testified of him and his mission. He was Jehovah in the premortal spirit existence, and was chosen by our Heavenly Father to be the Savior of mankind.
In his capacity as Savior, he represented the Father in all things pertaining to the salvation of man. He was the creator of worlds, and he personally visited ancient patriarchs and prophets to make gospel covenants with them. He was known and worshipped by Adam, Enoch, Noah, Abraham, Moses, Isaiah, Nephi, Alma, and many others. He was mighty and powerful, all-wise and all-knowing, kind and merciful. He was and is the “Holy One of Israel,” the God of the whole world.
Just as Jesus was selected for his redeeming mission in the premortal world, his prophets were also preappointed for their earthly missions, according to their faithfulness. (See Abr. 3:22–23; Alma 13:2–10.) It was in the premortal life that faithful sons and daughters of God received their first lessons in righteousness and became followers of Jesus. Some were foreordained to be prophets; others no doubt were appointed to be the fathers, mothers, and wives of prophets.
There is no impropriety, then, in believing that Mary and Joseph were selected in those ancient councils by the Father to be the earthly guardians of Jesus. Mary was given the unique privilege and responsibility of bringing the great Jehovah into the world, in which he would obtain a body of flesh and bones, experience mortality, and continue his mission for the redemption of mankind.
The significance of this mortal birth was more critical than we often realize. It was not an experimental thing, nor an event that was optional in the plan of salvation. The coming of a part-divine part-mortal Jesus into the world, Son of Mary and Only Begotten of the Father, was an absolute necessity. The human family could be saved in no other way. Only the Lord himself, by coming into mortality, partaking of the nature of man, living a sinless life, atoning with his blood for the sins of men, dying, and rising from the dead with his physical body could bring about redemption. (See Alma 34:8–16; Mosiah 7:27.) Eternal justice would admit no other way. Without this procedure and this Redeemer, all people, as soon as they were dead, would become “devils, angels to a devil, to be shut out from the presence of our God, and to remain with the father of lies, in misery, like unto himself. …” (2 Ne. 9:9.)
The earliest scriptural allusion to Mary is found in the writings of Moses. The Father, speaking to the serpent in the Garden of Eden after the transgression of Adam and Eve, says: “And I will put enmity between thee and the woman, between thy seed and her seed; and he shall bruise thy head, and thou shalt bruise his heel.” (Moses 4:21; compare Gen. 3:15.)
A direct reference to the Savior’s earthly mother was made by Isaiah about 700 b.c.: “… Behold, a virgin shall conceive, and bear a son, and shall call his name Immanuel.” (Isa. 7:14.) The New Testament identifies this as a prophecy referring to Mary and the birth of Jesus. (See Matt. 1:22–23.)
The Nephites communicated in even plainer language. About 600 years before the birth of Jesus, Nephi said:
“… I beheld the city of Nazareth; and in the city of Nazareth I beheld a virgin, and she was exceedingly fair and white.
“And it came to pass that I saw the heavens open; and an angel came down and stood before me. …
“And he said unto me: Behold, the virgin whom thou seest is the mother of the Son of God, after the manner of the flesh.
“And I looked and beheld the virgin again, bearing a child in her arms.
“And the angel said unto me: Behold the Lamb of God, yea, even the Son of the Eternal Father!” (1 Ne. 11:13–15, 18, 20–21.)
Later, 124 years before the birth of the Savior, King Benjamin explained that an angel had visited him and explained that the Redeemer should “be called Jesus Christ, the Son of God, the Father of heaven and earth, the Creator of all things from the beginning; and his mother shall be called Mary.” (Mosiah 3:8.)
Still later, about 80 years before the Lord’s birth, Alma taught the people: “And behold, he shall be born of Mary, at Jerusalem which is the land of our forefathers, she being a virgin, a precious and chosen vessel, who shall be overshadowed and conceive by the power of the Holy Ghost, and bring forth a son, yea, even the Son of God.” (Alma 7:10.)
Such specific details about Mary couldn’t have been known so long beforehand unless she had been appointed to that calling in the premortal life.
There is another factor inherent in the selection of the Lord’s mortal parentage. He was to be born of the family of David, and be the heir to the throne of David. Hence he would literally be the king of the Jews by their own law. Isaiah touches upon this matter:
“For unto us a child is born, unto us a son is given: and the government shall be upon his shoulder: and his name shall be called Wonderful, Counsellor, The mighty God, The everlasting Father, the Prince of Peace.
“Of the increase of his government and peace there shall be no end, upon the throne of David, and upon his kingdom, to order it, and to establish it with judgment and with justice from henceforth even for ever.” (Isa. 9:6–7. See also Isa. 11:1; D&C 113:1–2.)
Since Jesus was not begotten by mortal man, his descent from David would, by necessity, be through his mother. Thus, when Mary came to earth, she was born into that royal lineage so she could transmit it to her son Jesus. That Mary was of Davidic descent is plainly set forth in the scriptures. Jesus was frequently addressed as “Son of David”; he did not disclaim that title.
Paul made it clear that Jesus was of royal blood in his earthly lineage. To the Roman saints he wrote: “… Jesus Christ our Lord … was made of the seed of David according to the flesh.” (Rom. 1:3.) And to Timothy he said: “Remember that Jesus Christ of the seed of David was raised from the dead.” (2 Tim. 2:8. See also Acts 13:22–23 and Acts 2:30.)
That Joseph also was descended from David is likewise set forth in the New Testament, which states that Joseph was of Bethlehem and “of the house and lineage of David.” (Luke 2:4. See also Luke 1:27; Matt. 1:16, 20; Luke 3:23–31.)
So Jesus, though not a blood descendant of Joseph, inherited legal status as a son of David through him.
...
Something to do with "bruising the serpent's head" required Mary to conceive and participate in a special/unique creative act which brought about a dualistic entity. Part God and part man. Danna, you may have to do some more investigative work as to what "bruising the serpent's head" entails.