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
6.2m questions
8.1m answers