
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,y) =
\begin{cases} x + 2y &\quad \text{if } x > 0 \text{ and } y \ge 0, \\
x - 3y &\quad \text{if } x < 0 \text{ and } y \le 0, \\
4x + 2y &\quad \text{otherwise}.
\end{cases}
\]
Calculate $q(q(2,-2), q(-3,1))$.

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