
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 two lines $l_1: 3x+2y-1=0$ and $l_2: 5x+2y+1=0$ intersect at point A  
(1) If line $l_3: (a^2-1)x+ay-1=0$ is parallel to $l_1$, find the value of the real number $a$;  
(2) Find the equation of the line $l$ that passes through point A and has equal intercepts on both coordinate axes.

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