lc = 1e-2;

Point(1) = {0, 0, 0, lc};
Point(2) = {1, 0, 0, lc};
Point(3) = {1, 0.5, 0, lc};
Point(4) = {0, 0.5, 0, lc};
Point(5) = {1, 1, 0, lc};
Point(6) = {0, 1, 0, lc};

Curve(1) = {1,2};
Curve(2) = {2,3};
Curve(3) = {3,4};
Curve(4) = {4,1};
Curve(5) = {3,5};
Curve(6) = {5,6};
Curve(7) = {6,4};

Line Loop(1) = {1,2,3,4};
Line Loop(2) = {5,6,7,-3};

Plane Surface(1) = {1};
Plane Surface(2) = {2};

Physical Surface(1) = {1};
Physical Surface(2) = {2};
