
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 the rectangular coordinate system xOy, the parametric equations of curve C are given by $$\begin{cases} \overset{x=-1+2cos\theta }{y=1+2sin\theta }\end{cases}$$ (where θ is the parameter).
(1) Find the Cartesian equation of curve C.
(2) A line l passes through point M(-1, 2) and intersects curve C at points A and B. If M is the midpoint of segment AB, find the Cartesian equation of line l.

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