
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 arithmetic sequence $\{a_n\}$, $a_3=5$, and $a_5 -2a_2=3$; in the geometric sequence $\{b_n\}$, $b_1=3$ and the common ratio $q=3$.  

$(1)$ Find the general formula for the sequences $\{a_n\}$ and $\{b_n\}$.  

$(2)$ If $c_n=a_n+b_n$, find the sum of the first $n$ terms $S_n$ of the sequence $\{c_n\}$.

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