FR 7070 then W4 3172 at Madrid
Gdansk → Madrid → Bucharest
Timetable, Madrid time
21:00FR 7070 from Gdansk at the gate
10:40W4 3172 to Bucharest leaves the gate
13 h 40 apart on the timetable, overnight
W4 3172 leaves 13 h 40 after FR 7070 arrives on the timetable: more than half a day, so not a connection we count.