Dido's Problem/Variant 1/Solution

Solution
When the quadrilateral formed by the frame is cyclic.