Fundamentals of Geometry and Algebra