Problem 5.2. From a square with a side of 10, a green square with a side of 2, a blue square, and a yellow rectangle were cut out (see figure). What is the perimeter of the remaining figure?

The perimeter of a figure is the sum of the lengths of all its sides.

![](https://cdn.mathpix.com/cropped/2024_05_06_9501803ffe95e4ee4032g-2.jpg?height=414&width=418&top_left_y=96&top_left_x=518)
Answer: 44.

Solution. We will sequentially cut out our figures from the initial square with a perimeter of 40.

- After cutting out the yellow rectangle, we get a figure with the same perimeter as the original square.
- Next, we cut off the blue square, and again we get a figure with the same perimeter.
- The last action is to cut off the green square, and the perimeter increases by twice the side of the green square, that is, by 4.