Maximum Basic Rectangles

A rectangular piece of paper measures 4 units by 5 units. Several lines are drawn parallel to the edges of the paper, going from one edge to the other. A rectangle determined by the intersections of some of these lines is called basic if (i) all four sides of the rectangle are segments of drawn line segments, and (ii) no segments of drawn lines lie inside the rectangle. Given that the total length of all lines drawn is exactly 2007 units, let $ N $ be the maximum possible number of basic rectangles determined. Find $ N $.

  • 1
  • 2
  • 3
  • +
  • 4
  • 5
  • 6
  • -
  • 7
  • 8
  • 9
  • $\frac{a}{b}$
  • .
  • 0
  • =
  • %
  • $a^n$
  • $a^{\circ}$
  • $a_n$
  • $\sqrt{}$
  • $\sqrt[n]{}$
  • $\pi$
  • $\ln{}$
  • $\log$
  • $\theta$
  • $\sin{}$
  • $\cos{}$
  • $\tan{}$
  • $($
  • $)$
  • $[$
  • $]$
  • $\cap$
  • $\cup$
  • $,$
  • $\infty$