The sum of the angles of regular polygon is 2520o. How many sides does the…