Two regular pentagons and a regular decagon, all with the same side length, can completely surround a point.
An equilateral triangle, a regular decagon, and a regular n-gon, all with the same side length, also completely surround a point. Find n.
The value of n is 18.