Complex sentence: It opened its first line, between Glasgow and Ayr in 1839-1840; the section between Glasgow and Paisley was made jointly with the Glasgow, Paisley and Greenock Railway.
Split into simpler sentences: It opened its first line, between Glasgow and Ayr in 1839-1840. The section between Glasgow and Paisley was made jointly with the Glasgow, Paisley and Greenock Railway.