
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
In the diagram, the square has a perimeter of 64, and the triangle has a height of 32. If the square and the triangle have the same area, what is the value of $x$?
[asy]
draw((0,0)--(2,0)--(2,2)--(0,2)--cycle);
draw((3,0)--(6,0)--(6,5)--cycle);
draw((5.8,0)--(5.8,.2)--(6,.2));
label("$x$",(4.5,0),S);
label("32",(6,2.5),E);
[/asy]

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