Divide rectangle into three figures