What theory did the Egyptians use to build rectilinear structures?
The 3-4-5 right triangle and other rules of thumb were used to build rectilinear structures, and the post and lintel architecture of Egypt.