We can think of a hexagon in the next way:
This is, a shape made of 6 smaller triangles. So, we only need to calculate the area of one of those triangles and multiply it by 6
There is something interesting, each of the angles of every one of the triangles is 60°, those are equilateral triangles. So, let's focus on one triangle:
Notice that the blue line is the height of the triangle, that's what we need to find it's are using the formula:
So, to calculate the height we use the Pythagoras Theorem
Finally, the area of one of the triangles is:
And, by multiplying the previous result by 6, we get the area