Complex sentence: Kipling said that the poem was inspired by a voyage on the steamship "Doric", and that it was inspired by a conversation with a man something like McAndrew during a middle watch.
Split into simpler sentences: Kipling said that the poem was inspired by a voyage on the steamship "Doric". According to Kipling, it was inspired by a conversation with a man something like McAndrew during a middle watch.