Third homework assignment, chapter 2, rectangles

Calculated intersections of rectangle objects