
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 that $\tan x = 3$. Find the value of
(1) $$\frac{2\sin(\pi - x) + 3\cos(-x)}{\sin(x + \frac{\pi}{2}) - \sin(x + \pi)}$$
(2) $$2\sin^2 x - \sin 2x + \cos^2 x$$

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