Assuming a regular hexagon....

The area of a hexagon can be found by looking at it as two trapezoids

The formula for the area of a trapeziod is , therefore the formula for the area of a hexagon is obtainable by doubling this area.

next look at the net of the shape

From this we can get the formula of the prism as , but this only works if all sides of the hexagon are equal