LA 5745 then VY 1164 at Barcelona
Rome → Barcelona → Munich
Timetable, Barcelona time
01:25LA 5745 from Rome at the gate
18:10VY 1164 to Munich leaves the gatealso IB 5084, LL 5084
16 h 45 apart on the timetable
VY 1164 leaves 16 h 45 after LA 5745 arrives on the timetable: more than half a day, so not a connection we count.