World leaders attending the G7 meeting will head to Spain later this week for the NATO summit. Also attending will be Australia's Prime Minister Anthony Albanese.