According to question, the wire is in shape of semicircle. So the length of wire is equal to the perimeter of semicircle.
Therefore, length of wire = (1/2 x 2 x 22/7 x 7) + 2r (2r is added because the perimeter semicircle also contains the diameter)
= 22 + 14
= 36 cm
Hope that helps !!