Complex sentence: Cook is the only Prime Minister up to Sir William McMahon who does not have a Federal seat named after him although there is a seat called Cook but that was named after Captain James Cook.
Split into simpler sentences: Cook is the only Prime Minister up to Sir William McMahon who does not have a federal electorate named after him. Although there is a seat called Cook, that was named not after the Prime Minister but after Captain James Cook.