Each of the interior angles of a regular polygon is 140°. How many sides has…