Pergunta de entrevista da empresa Rakuten

Online test comprises one coding question with 1hour time limit. Q: "Find the area of two intersecting rectangles".