sentence1: The town of Cortlandville , close to the western border of the county , is surrounded by the city of Cortland .
sentence2: The city of Cortland , close to the western border of the county , is surrounded by the town of Cortlandville .