Dido's problem
Assigned the length p and assigned four segments lengths
a, b, c and p - (a + b + c)
study the configuration such that the pentagon ABCDE with AE on the assigned line has greater area.