The original arbitrary pentagon p and the affine images q and r. The points of p may be dragged about.
Patrick D. F. Ion, Created with GeoGebra