The sum S of the measures of the interior angles of a polygon with n sides is given by the formula S equals 180 (x minus 2 ). The interior angles of a certain polygon have a sum of 1 comma 620 degree. How many sides does the polygon have