two regular polygons

There is a indigo regular polygon. There is a green regular polygon which is made by the mid points.

When the outside polygon is the regular n-sided polygon, what is the ratio of similitude of the two regular polygons?

@You can also move points A, B on CABRI.

Download CABRIU data (d21) from here.