Eliud was the father of Eleazar. Eleazar was the father of Matthan. Matthan was the father of Jacob.
Azor was the father of Zadok. Zadok was the father of Akim. Akim was the father of Eliud.
Jacob was the father of Joseph, the husband of Mary. Mary gave birth to Jesus, who is called the Messiah.