Deakstadieđáhus: Foundations of Euclidean and non-Euclidean geometry