If there are four different circles that are tangent both to the edges of an inscribed quadrilateral and to the circle around that inscribed quadrilateral, how should the inscribed quadrilateral be chosen so that the sum of the perimeters of those four different circles could be maximum or minimum?

Case 1:

If the inscribed quadrilateral is a "square" with the same side length , then I find the sum of the perimeters of the "same" four circles

Case 2:

If the inscribed quadrilateral is a "rectangle" with the side lengths and , then I find the sum of the perimeters of the two bigger circles and the two smaller circles

Case 3:

Let the side lengths of the rectangle which is the inscribed quadrilateral be and ,

the radius of the two bigger circles be ,

the radius of the two smaller circles be ,

the total sum of the perimeters of these circles be ,

the radius of the largest circle that contains both the inscribed quadrilateral (rectangle) around which are those four circles be .

and for this value, the sum of the perimeters is which is the minimum of all three cases.

So, assuming that my approach and calculations to be correct, can I conclude as follows?

I. When the inscribed quadrilateral is a "square", the sum of the perimeters of the circles is maximum.

II. When the inscribed quadrilateral is a "rectangle" whose long side length is times its other (short) side length, the sum of the perimeters of the circles is minimum

Thanks and regards.