Here is the background to my question:
A mathematician thinking about Euclidean geometry finds she is studying those properties of figures which are left unchanged by the elements of a particular group, the group of similarities for the plane. A similarity enlarges or shrinks figures while keeping them in the same shape. More precisely, it sends straight-line segments to straight-line segments, multiplying the length by a factor which is the same for every segment. Triangles are sent to similar triangles, angles being preserved in magnitude, but not necessarily in the sense. The composition of two similarities is another. This forms a group.
This seems obvious to me, yet in order to prove this I am unsure what sort of function is needed. How can I send straight-line segments to straight-line segments and preserve angles in a triangle?
A hint is more appreciated than a solution.