FR 1739 then FR 2971 at Dublin
Valencia → Dublin → Kaunas
Timetable, Dublin time
23:30FR 1739 from Valencia at the gate
17:55FR 2971 to Kaunas leaves the gate
18 h 25 apart on the timetable, overnight
FR 2971 leaves 18 h 25 after FR 1739 arrives on the timetable: more than half a day, so not a connection we count.