It would be 9 sides, since you would do 360/40=9, which means there are 9 sides and this would be considered a nonagon
5.9m questions
7.7m answers