What is the perimeter of this shape?

If a square has a perimeter of 5cm, what is its perimeter?

If a rectangle has one side length of 15cm and one side length of 7cm, what is its perimeter?