Use 24 small squares with the side length of 1cm to form a rectangle. How many centimeters is the circumference of the rectangle

Use 24 small squares with the side length of 1cm to form a rectangle. How many centimeters is the circumference of the rectangle

There are several situations
It has 1 × 24, perimeter: (24 + 1) × 2 = 50 cm
2 × 12, perimeter: (2 + 12) × 2 = 28cm
Perimeter of 3 × 8: (3 + 8) × 1 = 22 cm
Perimeter of 4 × 6: (6 + 4) × 2 = 20 cm
There are only four