Get yourself a genealogy family tree program, such as Personal Ancestral File (free from FamilySearch.org)
Then, take out your Bible, and book by book, chapter by chapter, enter the names given. When you have finished, check the relationship of everyone to everyone else. I think you'll find something that at first will confuse you. But as you study this family tree more closely, it will become more clear. It might even change your understanding of your own Faith and what you have been taught.