First find length of both polygon
Let us suppose perimeter of both polygon is 'P'.
then as we know,
Perimeter formula for 6 side (ie. hexagon) is = 6*l1
Perimeter formula for 3 side polygon(i.e. triangle) = 3* l2
here 'l' is the length of side of polygon.
Then from above,
Length of hexagon will be (l1) = P/6
Length of triangle will be (l2)= P/3
Now is the time to use area formula for both polygon.
Ratio of Hexagon to Triangle area is = (((3 sqrt (3))*l12)/2)/(((sqrt(3) * l22))/4) -----------------(1)
now plug the value of l1 and l2 in the equation 1 above and solve it
= solving is easy. just plugging value and calculating.
After solving it we will end up getting answer : 3/2