FR 797 then FR 3095 at Dublin
Riga → Dublin → Goleniow
Timetable, Dublin time
00:45FR 797 from Riga at the gate
19:30FR 3095 to Goleniow leaves the gate
18 h 45 apart on the timetable
FR 3095 leaves 18 h 45 after FR 797 arrives on the timetable: more than half a day, so not a connection we count.