Answer:
Exterior angles (in a regular polygon) add to 360°. So you would do 360/40 to get an answer of 9. That is not the fastest solution, but your (n−2)×180∘ is the sum of the interior angles. Since the polygon is regular, each interior angle is therefore n−2n×180∘
Explanation: