
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 $p$, $q$, and $r$ be constants, and suppose that the inequality \[\frac{(x-p)(x-q)}{x-r} \le 0\] is true if and only if $x > 2$ or $3 \le x \le 5$. Given that $p < q$, find the value of $p + q + 2r$.

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