The area of a polygon is generally calculated as the sum of the smaller areas that form its full shape, give each partial area has a known shape, like a square, rectangle, triangle, circle, etc.
The six points given in the question are plotted in the image below. They form a polygon whose area can be divided into two smaller shapes:
The area CDHE is a square of length side 2. Area of a square:
The area HEFG is a trapezoid with bases lengths 4 and 2, and height 1. Area of a trapezoid: