
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
Let the equation of line $l$ be $(a+1)x+y+2-a=0$ ($a\in \mathbb{R}$)  
(1) If the intercepts of line $l$ on the two coordinate axes are equal, then the equation of line $l$ is \_\_\_\_\_\_ ;  
(2) If line $l$ does not pass through the second quadrant, then the range of values for the real number $a$ is \_\_\_\_\_\_ .

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