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
9.4m questions
12.1m answers