In the diagram, ABCD and AEFG are squares with side length 1. Find the area of the green region.
The answer is 5 - 3*sqrt(2).