Question 1002849
Sum of exterior angles of any convex polygon = 360 degrees


Letting a be the number of total vertices ("angles") of the polygon, we have


40 + 20(a-1) = 360 (note: a-1, not a)


a = 17


So 17 sides.