
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
Calculate:<br/>$(1)[(-2a)^{3}⋅{(-a{b}^{2})}^{3}-4a{b}^{2}⋅(2{a}^{5}{b}^{4}+\frac{1}{2}a{b}^{3}-5)]÷(-2ab)$;<br/>$(2)$ Simplify first and then find the value. Given $x^{2}+2x-1=0$, find the value of the algebraic expression $\left(2x+1\right)^{2}-\left(x+2\right)\left(x-2\right)+2\left(x-1\right)\left(x+4\right)$.

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