This is the genealogy of Jesus through Joseph his stepfather.
The line goes through David and Solomon and includes Jeconiah whose natural seed would not prosper on the throne
Jeremiah 22:30 Thus saith the LORD, Write ye this man childless, a man that shall not prosper in his days: for no man of his seed shall prosper, sitting upon the throne of David, and ruling any more in Judah.
This is the genealogy of Jesus through his mother Mary.
The line goes through David and Nathan rather than Solomon, thus bypassing Jeconiah.
Both genealogies establish Jesus’ right to the throne of David.
Luke 1:32 He shall be great, and shall be called the Son of the Highest: and the Lord God shall give unto him the throne of his father David: 33 And he shall reign over the house of Jacob for ever; and of his kingdom there shall be no end.
I hope you find this helpful.