Exploring the mathematical machines for geometrical transformations: a cognitive analysis