
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
Liu Qian's magic shows are popular nationwide, and Xiao Ming also learned from him and invented a magic box. When any pair of real numbers $(a, b)$ enters it, a new real number is produced: $a^2+b-1$. For example, if you put $(3, -2)$ into it, you will get $3^2+(-2)-1=6$. Now, if the real number pair $(m, -2m)$ is put into it, and the output is the real number 2, then $m=$ \_\_\_\_\_\_.

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