Complex sentence: The railway was built by the Glasgow, Paisley and Johnstone Canal company; and it was intended to terminate at Johnstone, to connect with the Glasgow, Paisley and Johnstone Canal.
Split into simpler sentences: The railway was built by the Glasgow, Paisley and Johnstone Canal company. It was intended to terminate at Johnstone, to connect with the Glasgow, Paisley and Johnstone Canal.