A half circle is joint to an equilateral triangle with side lengths of 12 units. What is the perimeter of the resulting shape?