You can put this solution on YOUR website! For a regular polygon with n sides of length s:
Perimeter = n*s = 14
--------------
----------
The area of a triangle (n=3) is:
s = 14/3
Area = 3*(14/3)^2*cot(60)
Area = 37.72
----------------
Area of a square (n=4) is:
s = 14/4
Area = 4*(14/4)^2*cot(45)
Area = 49
-----------
The area increases with the number of sides, so it's not a regular polygon.
-----------
Try a parallelogram
Area = b*h/2 = 8
2b + 2h = 14
b+h = 7
h = 7-b
--------
b*h = 16
b*(7-b) = 16
7b - b^2 - 16 = 0