Affine and Projective Transformations: The Fusion of Linear Algebra and Geometry behind CG and Perspective