Complex sentence: One of their favorite authors was John Buchan, who wrote The Thirty-Nine Steps both Robert and John were influenced by the book.
Split into simpler sentences: One of their favorite authors was John Buchan, who wrote "The Thirty-Nine Steps". Both Robert and John were influenced by the book.