Complex sentence: The town was created in 1917 when the railway was built and is named after former Prime Minister Joseph Cook.
Split into simpler sentences: The town was created in 1917 when the railway was built. It is named after former Prime Minister Joseph Cook.