FR 7140 then FR 5418 at Dublin
Vilnius → Dublin → Berlin
Timetable, Dublin time
00:50FR 7140 from Vilnius at the gate
18:40FR 5418 to Berlin leaves the gate
17 h 50 apart on the timetable
FR 5418 leaves 17 h 50 after FR 7140 arrives on the timetable: more than half a day, so not a connection we count.