
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 curve C is the trajectory of a moving point M, whose distance ratio to two fixed points O(0,0) and A(3,0) is $\frac{1}{2}$:
(1) Find the equation of curve C;
(2) Find the equation of the tangent line to curve C passing through point N(1,3).

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