Glasgow is 1 hour behind Madrid
Best overlap: 9:00 AM to 6:00 PM in Madrid is 8:00 AM to 5:00 PM in Glasgow.
Target 9:00 AM to 6:00 PM in Madrid, which lands at 8:00 AM to 5:00 PM for the Glasgow side. The overlap is wide at 9 hours, so you can protect mornings for deep work and still find plenty of meeting time.