FR 5218 then FR 808 at Dublin
Lublin → Dublin → Edinburgh
Timetable, Dublin time
00:15FR 5218 from Lublin at the gate
20:30FR 808 to Edinburgh leaves the gate
20 h 15 apart on the timetable
FR 808 leaves 20 h 15 after FR 5218 arrives on the timetable: more than half a day, so not a connection we count.