A regular polygon has each of its exterior angles as 18o. How many sides has…