Hi smart people.

Sorry, i might not even be able to formulate my question correct, so i made a sketch

I need to find the distance from the center of the shape, to the center of the sides. See JPG.

Known variable values are the width of the sides (in this example 100), and amount of sides.

So for an example, if i need to have 10 sides, what would the distance be? (green line)

https://imgur.com/a/eyU5W (if you cant see above pic)

Thanks

Edit: The green values on the sketch, are found simply by measuring