Original: It is roughly equidistant between Glasgow and Ayr, and is the second largest town in Ayrshire.
Simplified: It is  located roughly between Glasgow and Ayr, and is the second largest town in Ayrshire.