Pergunta de entrevista da empresa Autodesk

Given 2 rectangles, how would you determine if they intersect?