
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
The range of the function $f\left(x\right)=(x^{2}-4x)(e^{x-2}-e^{2-x})+x+1$ on the interval $\left[-1,5\right]$ is $\left[m,M\right]$. Find $m+M$.

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