You can put this solution on YOUR website! It's a formula that gives the area.
It works for all regular polygons.
===================
You can find the area of a regular hexagon using 6 equilateral triangles, and the result is the same.
---------------------------