Please reason step by step, and put your final answer within \boxed{}.
A geometric shape is obtained by combining a square of side 8 cm and a semicircle of diameter 8 cm. What is the perimeter of the shape obtained?
user