Solve PilingRectsDiv2