
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
Suppose  $\overline{AB}$  is a segment of unit length in the plane. Let  $f(X)$  and  $g(X)$  be functions of the plane such that  $f$  corresponds to rotation about  $A$   $60^\circ$  counterclockwise and  $g$  corresponds to rotation about  $B$   $90^\circ$  clockwise. Let  $P$  be a point with  $g(f(P))=P$ ; what is the sum of all possible distances from  $P$  to line  $AB$ ?

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