
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
Given polynomials $A=ax^{2}+3xy+2|a|x$ and $B=2x^{2}+6xy+4x+y+1$.  
$(1)$ If $2A-B$ is a quadratic trinomial in terms of $x$ and $y$, find the value of $a$.  
$(2)$ Under the condition in $(1)$, simplify and evaluate the expression $3(-3a^{2}-2a)-[a^{2}-2(5a-4a^{2}+1)-2a]$.

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