
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
On side  $AE$  of regular pentagon  $ABCDE$  there is an equilateral triangle  $AEF$ , and on side  $AB$  of the pentagon there is a square  $ABHG$  as shown. Find the degree measure of angle  $AFG$ .
![Image](https://cdn.artofproblemsolving.com/attachments/7/7/0d689d2665e67c9f9afdf193fb0a2db6dddb3d.png)

Present the answer in LaTex format: \boxed{Your answer}
user