Area of equilateral triangle: √34s2
Area of regular hexagon: 3√32s2
If the perimeter of the triangle is 18, then one side is 6, therefore the area of it is,
√34⋅36
area=9√3
Because their areas are equal,
3√32s2=9√3
Simplify,
3√3⋅s2=18√3
s2=6
s=√6
There are 6 sides in a hexagon, so the perimeter is, √6⋅6=6√6. 6 + 6 = 12, so that's the answer.
EDIT: I messed up my arithmetic