
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
Let \( Q(x) = x^2 + 2x + 3 \), and suppose that \( P(x) \) is a polynomial such that
\[ P(Q(x)) = x^6 + 6x^5 + 18x^4 + 32x^3 + 35x^2 + 22x + 8. \]

Compute \( P(2) \).

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