Problem 4.3. Zhenya drew a square with a side of 3 cm, and then erased one of these sides. A figure in the shape of the letter "P" was obtained. The teacher asked Zhenya to place dots along this letter "P", starting from the edge, so that the next dot was 1 cm away from the previous one, as shown in the picture, and then count how many dots he got. He got 10 dots.

![](https://cdn.mathpix.com/cropped/2024_05_06_5b323dccc142e96a9907g-03.jpg?height=331&width=329&top_left_y=196&top_left_x=562)

Then the teacher decided to complicate the task and asked to count the number of dots, but for the letter "P" obtained in the same way from a square with a side of 10 cm. How many dots will Zhenya have this time?
Answer: 31.

Solution. Along each of the three sides of the letter "П", there will be 11 points. At the same time, the "corner" points are located on two sides, so if 11 is multiplied by 3, the "corner" points will be counted twice. Therefore, the total number of points is $11 \cdot 3-2=31$.