Caseware interview question

Rectangle overlap ?