
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 an ellipse $C:\frac{x^2}{a^2}+\frac{y^2}{b^2}=1(a > b > 0)$ with its right focus $F$ lying on the line $2x-y-2=0$, where $A$ and $B$ are the left and right vertices of $C$, and $|AF|=3|BF|$.<br/>$(1)$ Find the standard equation of $C$;<br/>$(2)$ A line $l$ passing through point $D(4,0)$ intersects $C$ at points $P$ and $Q$, with the midpoint of segment $PQ$ denoted as $N$. If the slope of line $AN$ is $\frac{2}{5}$, find the slope of line $l$.

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