
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
A shape consists of a rectangle and a right triangle sharing one side. The rectangle's known side is 6 units and the other sides are x units each. The triangle has one leg as x and the other leg equal to 6 units. Find the perimeter of the combined shape.

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