Let P be a regular nonagon with side length 2, and let S be the set of points that are within a distance of 1 from S. (That is, a point X is in S if there exists a point Y in P such that XY <= 1.) What is the perimeter of P?
The perimeter of P is 37.