C.a.R. > Applications > Analytic Geometry > Image under affine Mapping
Green is mapped to blue under an affine mapping. Move the points to change the parameters.
This construction is realized with macros using a construction. A computation would have been easier.