It's not straightforward, but the simplest way is probably the 93 bus to Middlesborough, then local train to Darlington followed by fast train to Glasgow via Edinburgh.