In regard of the pyramids, it is all about the pythagorean theorem.
They used ropes/strings with 13 knots in the distance of 1/6 of Pie, to measure,
the 3,4 and 5.
The 13 knot was only there, so the rope was usable from both sides the same way and
to close circles and other geometrical figures.
if one forms the base triangle, using a compass (the rope as a compass),
you get the a²+b²=c². square roots weren't their business. comparisons and
well known basic maths were.
let a = 3, b=4 makes c=5 = 12 knots = 12 Cubit.
I guess, they even spread/used measurement impairments over and over and repeated them consequently. which also means they all were teached by one and the same master teacher and worked very precise. As it seems to me, there existed plagiators, which made certain things differently, which lead to different angles for pyramids from different architects.
currently, i just have no idea how they got to 1/6 of Pie ( in meters) to use it as 1 Cubit.
But that also can be my lack of knowledge of the root source measurement for the unit meter.
Thanks for these graphics.