
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
In an acute triangle $ABC$, there are two vectors $\overrightarrow{p} = (2 - 2\sin A, \cos A + \sin A)$ and $\overrightarrow{q} = (\sin A - \cos A, 1 + \sin A)$, and $\overrightarrow{p}$ is collinear with $\overrightarrow{q}$,

    (1) Determine the size of angle $A$;

    (2) Find the size of angle $B$ when the function $y = 2\sin^2 B + \cos \left(\frac{C - 3B}{2}\right)$ takes its maximum value.

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