Make a straight line through a vertex of a polygon, cut off two corners of the polygon, the sum of its inner angles is 1260, and find the original number of sides of the polygon

Make a straight line through a vertex of a polygon, cut off two corners of the polygon, the sum of its inner angles is 1260, and find the original number of sides of the polygon

1260 = 7 * 180 is now a 7 + 2 = 9 polygon. A polygon vertex makes a straight line and cuts off two corners of the polygon. There are two cases: 1. If the line passes through another vertex, three sides will be reduced and one side will be added. In total, two sides will be reduced