Add the corner back.
transcript
A map of blocks. A rectangle of revenue. Each question asks for one rectangle. Two strips to remove. What can go wrong?
The table has a border of zeros. Each cell is the total above and to the left. It is built once, in one pass. The whole grid is forty four. The table has one extra row and column.
Take rows one to two, columns one to two. The big corner is thirty four. Remove the strip above, eight, and the strip left, twelve. That leaves fourteen. It is wrong. The right answer is seventeen.
The corner above and left is in both strips. It was removed twice. Add it back once. Each strip removed it, so you add it once.
Thirty four, minus eight, minus twelve. Plus three for the shared corner. The answer is seventeen. It matches adding the four blocks by hand.
A rectangle is four corners. Full breakdown in the lecture.