
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 a diagram, a square has a perimeter of 32 units, and a right triangle has a height of 40 units. If the square and the triangle have the same area, what is the value of $x$, where $x$ is the base of the triangle? Assume the triangle's base is twice the length of $x$.

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