Drag Point P to show different sizes of the compound shape all having the same perimeter. The area of the compound shape is plotted against its width in the 2nd Graphics Window.
Created with GeoGebra