Can someone please help me?

Two regular pentagons and a regular decagon, all with the same side length, can completely surround a point.

A square, a regular pentagon, and a regular n-gon, all with the same side length, also completely surround a point. Find n.

Thanks!

Caffeine May 25, 2020