For 10 points, name this male counterpart of Seshat who ruled the Ogdoad of Hermopolis, served as the Egyptian god of scribes, and was depicted with the head of a baboon or ibis.
An ancient temple dedicated primarily to this deity had columns of irregularly shaped stones, with the lower sections resembling the petals of a lotus, the middle sections consisting of concentric rings, and the upper sections looking like bunches of reeds. That temple dedicated primarily to this deity contained a sculpture of a different deity depicted as a hawk fighting a snake on top of a hippopotamus, whom Plutarch identified as Typhon. A text named for this deity was hidden inside five successively smaller boxes until it was stolen first by Neferkaptah, then by Setne Khamwas. This deity made it possible for Nut to give birth by winning the light of five extra days in a game of dice with Khonsu, and he helped Isis assemble the pieces of Osiris' body. For 10 points, name this male counterpart of Seshat who ruled the Ogdoad of Hermopolis, served as the Egyptian god of scribes, and was depicted with the head of a baboon or ibis.
An ancient temple dedicated primarily to this deity had columns of irregularly shaped stones, with the lower sections resembling the petals of a lotus, the middle sections consisting of concentric rings, and the upper sections looking like bunches of reeds.
Thoth [or Djehuty; or Tehuti; or Book of Thoth; do not accept "Hermes Trismegistus"]