https://medium.com/nice-math-problems/want-a-challenge-try-this-overlapping-rectangles-problem-ea5a52a824c7