Ancient Egypt made significant advances in astronomy, mathematics and medicine. What theory did the Egyptians use to build rectilinear structures