The sum of an interior angles of a regular polygon is 30 right angles. How…