FR 813 then EI 3222 at Dublin
Edinburgh → Dublin → Glasgow
Timetable, Dublin time
18:15FR 813 from Edinburgh at the gate
10:20EI 3222 to Glasgow leaves the gate
16 h 05 apart on the timetable, overnight
EI 3222 leaves 16 h 05 after FR 813 arrives on the timetable: more than half a day, so not a connection we count.