
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 the line $l$: $y=kx-3k+2$ and the curve $C$: $(x-1)^{2}+(y+1)^{2}=4(-1\leqslant x\leqslant 1)$, find the value of $k$ when the line $l$ is tangent to the curve $C$, and find the range of $k$ when the line $l$ has only one common point with the curve $C$.

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