Each of the interior angles of a regular polygon is 140o. Calculate the sum of…