If two equilateral triangles each of side length 6 m are joined to form a polygon, then the perimeter of the figure so formed is ____ m.