The first one was easy, the indent can be ignored, it's still the same length and width, so it's 12 x 10 which is 44 cm, 2 x 22. The second is slightly harder as the indents reverse direction, but taking the 2 as referring to the height of the indent, then it too is 44cm, 9 x 11 which has perimeter of 2 x 20 = 40, but the extra 2cm is covered twice, hence it's 40 + 2 + 2=44cm.
In any exam the questions are to test a range of abilities, the second part will weed out the most able.
I used to tell my pupils that if a multi-part question seemed to repetitious, look again, the later parts will be more tricky.