
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 the function $f(x)$ ($x \in \mathbb{R}$) be a function with a period of 2, and when $x \in [0, 2]$, $f(x) = (x-1)^2$,

(1) Find $f(3)$  
(2) When $x \in [2, 4]$, find the expression for $f(x)$.

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