Square in a triangle

Topic:
Area, Square
Given: FGED is a square, line DI is parallel to BC, EI is parallel to AC. Which colored quadrilateral in the picture has the largest area? How does moving point C change the result? Given the length AB and area ABC find the areas of the three quadrilaterals. What is the maximal and minimal area of the square as you move A and B?