2D and 3D geometry, part A. Translations and Rotations