Meraki interview question

Rectangle overlap